git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "cpusets: randomize node rotor used in cpuset_mem_spread_node()"
[pandora-kernel.git]
/
include
/
linux
/
nubus.h
diff --git
a/include/linux/nubus.h
b/include/linux/nubus.h
index
7382af3
..
e137b3c
100644
(file)
--- a/
include/linux/nubus.h
+++ b/
include/linux/nubus.h
@@
-237,6
+237,7
@@
struct nubus_dirent
int mask;
};
int mask;
};
+#ifdef __KERNEL__
struct nubus_board {
struct nubus_board* next;
struct nubus_dev* first_dev;
struct nubus_board {
struct nubus_board* next;
struct nubus_dev* first_dev;
@@
-351,6
+352,7
@@
void nubus_get_rsrc_mem(void* dest,
void nubus_get_rsrc_str(void* dest,
const struct nubus_dirent *dirent,
int maxlen);
void nubus_get_rsrc_str(void* dest,
const struct nubus_dirent *dirent,
int maxlen);
+#endif /* __KERNEL__ */
/* We'd like to get rid of this eventually. Only daynaport.c uses it now. */
static inline void *nubus_slot_addr(int slot)
/* We'd like to get rid of this eventually. Only daynaport.c uses it now. */
static inline void *nubus_slot_addr(int slot)