]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
headers_check fix cleanup: linux/nubus.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Tue, 3 Feb 2009 13:58:24 +0000 (19:28 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Tue, 3 Feb 2009 14:03:51 +0000 (19:33 +0530)
These are only for kernel internals as pointed by Arnd Bergmann:
   struct nubus_board
   struct nubus_dev

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
include/linux/nubus.h

index 9be57d99269576e756d457bcfb2464cbdf80ca6a..e137b3c486a7799f9f39b470f827db2ab00dc819 100644 (file)
@@ -237,6 +237,7 @@ struct nubus_dirent
        int mask;
 };
 
+#ifdef __KERNEL__
 struct nubus_board {
        struct nubus_board* next;
        struct nubus_dev* first_dev;
@@ -296,7 +297,6 @@ struct nubus_dev {
        struct nubus_board* board;
 };
 
-#ifdef __KERNEL__
 /* This is all NuBus devices (used to find devices later on) */
 extern struct nubus_dev* nubus_devices;
 /* This is all NuBus cards */