diff options
author | Grant Likely <grant.likely@linaro.org> | 2013-09-15 16:55:53 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-05-16 16:19:12 +0800 |
commit | 568f4b903fe1cfc8464c0ce51ad5882c7e227a0e (patch) | |
tree | 24d585587f2b03729e3b452b8a6736932bb36a00 /include | |
parent | d6e82b145aec027e127aa36527ae98714dab38ef (diff) |
ENGR00313685-3 of/irq: simplify args to irq_create_of_mapping
commit e6d30ab1e7d1281784672c0fc2ffa385cfb7279e upstream.
All the callers of irq_create_of_mapping() pass the contents of a struct
of_phandle_args structure to the function. Since all the callers already
have an of_phandle_args pointer, why not pass it directly to
irq_create_of_mapping()?
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Acked-by: Michal Simek <monstr@monstr.eu>
Acked-by: Tony Lindgren <tony@atomide.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Conflicts:
arch/arm/mach-integrator/pci_v3.c
arch/mips/pci/pci-rt3883.c
kernel/irq/irqdomain.c
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_irq.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/of_irq.h b/include/linux/of_irq.h index ed76e3d15dd9..b3626d360971 100644 --- a/include/linux/of_irq.h +++ b/include/linux/of_irq.h @@ -46,9 +46,7 @@ extern int of_irq_parse_raw(struct device_node *parent, const __be32 *intspec, struct of_phandle_args *out_irq); extern int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq); -extern unsigned int irq_create_of_mapping(struct device_node *controller, - const u32 *intspec, - unsigned int intsize); +extern unsigned int irq_create_of_mapping(struct of_phandle_args *irq_data); extern int of_irq_to_resource(struct device_node *dev, int index, struct resource *r); extern int of_irq_count(struct device_node *dev); |