From: Jaswinder Singh Rajput Date: Tue, 3 Feb 2009 13:58:24 +0000 (+0530) Subject: headers_check fix cleanup: linux/nubus.h X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5007b1fc4ef2c1b496536b2f026353c1d44d92ef;p=linux-2.6-omap-h63xx.git headers_check fix cleanup: linux/nubus.h These are only for kernel internals as pointed by Arnd Bergmann: struct nubus_board struct nubus_dev Signed-off-by: Jaswinder Singh Rajput --- diff --git a/include/linux/nubus.h b/include/linux/nubus.h index 9be57d99269..e137b3c486a 100644 --- a/include/linux/nubus.h +++ b/include/linux/nubus.h @@ -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 */