diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-03 07:55:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-03 07:55:06 -0500 |
commit | 87fe85133fa7f33c2bc9882826666a7f117c62bd (patch) | |
tree | ab251f47a34b8c8c5b7c21aa45c818de926aa8d1 /include/linux/nubus.h | |
parent | 1ff8f739c7cc4eaa89b6ba986494f458ff7bdbef (diff) | |
parent | 15c554439faedfa490389b31db893dc764245e88 (diff) |
Merge branch 'core/header-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/linux-2.6-tipclean into core/header-fixes
Diffstat (limited to 'include/linux/nubus.h')
-rw-r--r-- | include/linux/nubus.h | 2 |
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) */ |
300 | extern struct nubus_dev* nubus_devices; | 301 | extern 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, | |||
351 | void nubus_get_rsrc_str(void* dest, | 352 | void 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. */ |
356 | static inline void *nubus_slot_addr(int slot) | 358 | static inline void *nubus_slot_addr(int slot) |