[tip:irq/urgent] genirq: Include missing header file in irqdomain.c

tip-bot for Rashika Kheria
2014-02-27T12:34:08Z

Commit-ID: 64be38ab03e9b238a1299857fef8b3707c0ed045
Gitweb: http://git.kernel.org/tip/64be38ab03e9b238a1299857fef8b3707c0ed045
Author: Rashika Kheria <rashika.kheria@gmail.com>
AuthorDate: Thu, 27 Feb 2014 17:10:12 +0530
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Thu, 27 Feb 2014 13:29:35 +0100

genirq: Include missing header file in irqdomain.c

Include appropriate header file include/linux/of_irq.h in
kernel/irq/irqdomain.c because it contains prototype definition of
function define in kernel/irq/irqdomain.c.

This eliminates the following warning in kernel/irq/irqdomain.c:
kernel/irq/irqdomain.c:468:14: warning: no previous prototype for ‘irq_create_of_mapping’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Link: http://lkml.kernel.org/r/eb89aebea7ff1a46122918ac389ebecf8248be9a.1393493276.git.rashika.kheria@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
kernel/irq/irqdomain.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index cf68bb3..f140337 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -10,6 +10,7 @@
#include <linux/mutex.h>
#include <linux/of.h>
#include <linux/of_address.h>
+#include <linux/of_irq.h>
#include <linux/topology.h>
#include <linux/seq_file.h>
#include <linux/slab.h>