]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/of: include export.h for EXPORT_SYMBOL_GPL in of_pci_irq.c
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 29 Jul 2011 06:05:38 +0000 (16:05 +1000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:55:45 +0000 (13:55 -0400)
This is an interaction with commit 98d9f30c820d ("pci/of: Match PCI
devices to OF nodes dynamically") which split off part of
drivers/of/of_pci.c, causing:

drivers/of/of_pci_irq.c:92:1: warning: data definition has no type or storage class
drivers/of/of_pci_irq.c:92:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/of/of_pci_irq.c:92:1: warning: parameter names (without types) in function declaration

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/of/of_pci_irq.c

index ac1ec54e4fd50eea60d123004fe735636518722c..93125163dea21fc16bcf2dd0243c7426cd351708 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/kernel.h>
 #include <linux/of_pci.h>
 #include <linux/of_irq.h>
+#include <linux/export.h>
 #include <asm/prom.h>
 
 /**