]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ssb: fixup another group of export.h implicit users
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 02:07:02 +0000 (22:07 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:06:03 +0000 (04:06 -0400)
Or we will get things like this when we remove the implicit path:

drivers/ssb/embedded.c:32: warning: data definition has no type or storage class
drivers/ssb/embedded.c:32: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
drivers/ssb/embedded.c:32: warning: parameter names (without types) in function declaration

drivers/ssb/driver_chipcommon.c:432: warning: data definition has no type or storage class
drivers/ssb/driver_chipcommon.c:432: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
drivers/ssb/driver_chipcommon.c:432: warning: parameter names (without types) in function declaration

drivers/ssb/driver_chipcommon_pmu.c:607: warning: data definition has no type or storage class
drivers/ssb/driver_chipcommon_pmu.c:607: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
drivers/ssb/driver_chipcommon_pmu.c:607: warning: parameter names (without types) in function declaration

drivers/ssb/pcihost_wrapper.c: In function ‘ssb_pcihost_register’:
drivers/ssb/pcihost_wrapper.c:120: error: ‘THIS_MODULE’ undeclared (first use in this function)
drivers/ssb/pcihost_wrapper.c:120: error: (Each undeclared identifier is reported only once
drivers/ssb/pcihost_wrapper.c:120: error: for each function it appears in.)

drivers/ssb/driver_pcicore.c:721: warning: data definition has no type or storage class
drivers/ssb/driver_pcicore.c:721: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
drivers/ssb/driver_pcicore.c:721: warning: parameter names (without types) in function declaration

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/ssb/driver_chipcommon.c
drivers/ssb/driver_chipcommon_pmu.c
drivers/ssb/driver_pcicore.c
drivers/ssb/embedded.c
drivers/ssb/pcihost_wrapper.c

index 5d9c97c24797200c3b69634ff29f75271977d1b4..e9d2ca11283b3e60fd8d63a31bf59b739135739e 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/ssb/ssb.h>
 #include <linux/ssb/ssb_regs.h>
+#include <linux/export.h>
 #include <linux/pci.h>
 
 #include "ssb_private.h"
index 52901c14c68b47a36da5d74452f31eaede9ea7ed..e5a2e0e9bc19bbf586c49cc06b49f35cb16c5a88 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/ssb/ssb_regs.h>
 #include <linux/ssb/ssb_driver_chipcommon.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 
 #include "ssb_private.h"
 
index e6ac3177fbbe57437fe0844457ffcbed784c8f21..84c934c0a5455950f1244de76ebcfe3b8b5a4aaf 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/ssb/ssb.h>
 #include <linux/pci.h>
+#include <linux/export.h>
 #include <linux/delay.h>
 #include <linux/ssb/ssb_embedded.h>
 
index eec3e267be4d5038be0d569926944a3c841f5d5e..9ef124f9ee2d4e73f20db392e45b29b7c558ec00 100644 (file)
@@ -8,6 +8,7 @@
  * Licensed under the GNU/GPL. See COPYING for details.
  */
 
+#include <linux/export.h>
 #include <linux/ssb/ssb.h>
 #include <linux/ssb/ssb_embedded.h>
 #include <linux/ssb/ssb_driver_pci.h>
index 116a8116984b2479038adb1f2da6574eef7ec7b4..af5448f5e2d2242b86fff652fe58c0f8d3219b67 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 #include <linux/pci.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/ssb/ssb.h>