From 13a5cbb6094d5b95e3df2c47737d2508a946c69c Mon Sep 17 00:00:00 2001 From: Jaswinder Singh Rajput Date: Mon, 2 Feb 2009 21:41:41 +0530 Subject: [PATCH] --- yaml --- r: 135833 b: refs/heads/master c: 9fe03bc3139503fbad66016bf714f4575babf651 h: refs/heads/master i: 135831: 8a93dcdb1cce6d7651c20740b57c7ca79e7a5fcc v: v3 --- [refs] | 2 +- trunk/include/linux/nubus.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 1844cc9ecd47..26c85d3a7007 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 25d00fddf8d23234da2d45c051a14450939496d6 +refs/heads/master: 9fe03bc3139503fbad66016bf714f4575babf651 diff --git a/trunk/include/linux/nubus.h b/trunk/include/linux/nubus.h index 7382af374731..9be57d992695 100644 --- a/trunk/include/linux/nubus.h +++ b/trunk/include/linux/nubus.h @@ -296,6 +296,7 @@ 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 */ @@ -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); +#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)