mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
powerpc: Remove virq_to_host
The only references to the irq_map[].host field are internal to arch/powerpc/kernel/irq.c Signed-off-by: Milton Miller <miltonm@bga.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
3ee62d365b
commit
1e8c23013e
2 changed files with 0 additions and 7 deletions
|
@ -129,7 +129,6 @@ struct irq_data;
|
||||||
extern irq_hw_number_t irqd_to_hwirq(struct irq_data *d);
|
extern irq_hw_number_t irqd_to_hwirq(struct irq_data *d);
|
||||||
extern irq_hw_number_t virq_to_hw(unsigned int virq);
|
extern irq_hw_number_t virq_to_hw(unsigned int virq);
|
||||||
extern bool virq_is_host(unsigned int virq, struct irq_host *host);
|
extern bool virq_is_host(unsigned int virq, struct irq_host *host);
|
||||||
extern struct irq_host *virq_to_host(unsigned int virq);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* irq_alloc_host - Allocate a new irq_host data structure
|
* irq_alloc_host - Allocate a new irq_host data structure
|
||||||
|
|
|
@ -516,12 +516,6 @@ bool virq_is_host(unsigned int virq, struct irq_host *host)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(virq_is_host);
|
EXPORT_SYMBOL_GPL(virq_is_host);
|
||||||
|
|
||||||
struct irq_host *virq_to_host(unsigned int virq)
|
|
||||||
{
|
|
||||||
return irq_map[virq].host;
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL_GPL(virq_to_host);
|
|
||||||
|
|
||||||
static int default_irq_host_match(struct irq_host *h, struct device_node *np)
|
static int default_irq_host_match(struct irq_host *h, struct device_node *np)
|
||||||
{
|
{
|
||||||
return h->of_node != NULL && h->of_node == np;
|
return h->of_node != NULL && h->of_node == np;
|
||||||
|
|
Loading…
Add table
Reference in a new issue