aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-02 11:11:41 -0500
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-02 11:11:41 -0500
commit9fe03bc3139503fbad66016bf714f4575babf651 (patch)
treebb609d49d61c5ce24fb379df0b9efbaa25a74e72
parent25d00fddf8d23234da2d45c051a14450939496d6 (diff)
headers_check fix: linux/nubus.h
fix the following 'make headers_check' warnings: usr/include/linux/nubus.h:297: extern's make no sense in userspace usr/include/linux/nubus.h:299: extern's make no sense in userspace usr/include/linux/nubus.h:303: extern's make no sense in userspace Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
-rw-r--r--include/linux/nubus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nubus.h b/include/linux/nubus.h
index 7382af374731..9be57d992695 100644
--- a/include/linux/nubus.h
+++ b/include/linux/nubus.h
@@ -296,6 +296,7 @@ struct nubus_dev {
296 struct nubus_board* board; 296 struct nubus_board* board;
297}; 297};
298 298
299#ifdef __KERNEL__
299/* This is all NuBus devices (used to find devices later on) */ 300/* This is all NuBus devices (used to find devices later on) */
300extern struct nubus_dev* nubus_devices; 301extern struct nubus_dev* nubus_devices;
301/* This is all NuBus cards */ 302/* This is all NuBus cards */
@@ -351,6 +352,7 @@ void nubus_get_rsrc_mem(void* dest,
351void nubus_get_rsrc_str(void* dest, 352void nubus_get_rsrc_str(void* dest,
352 const struct nubus_dirent *dirent, 353 const struct nubus_dirent *dirent,
353 int maxlen); 354 int maxlen);
355#endif /* __KERNEL__ */
354 356
355/* We'd like to get rid of this eventually. Only daynaport.c uses it now. */ 357/* We'd like to get rid of this eventually. Only daynaport.c uses it now. */
356static inline void *nubus_slot_addr(int slot) 358static inline void *nubus_slot_addr(int slot)