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
[PATCH] powerpc: Remove duplicate code
[pandora-kernel.git]
/
include
/
asm-powerpc
/
vio.h
diff --git
a/include/asm-powerpc/vio.h
b/include/asm-powerpc/vio.h
index
e0ccf10
..
0544ece
100644
(file)
--- a/
include/asm-powerpc/vio.h
+++ b/
include/asm-powerpc/vio.h
@@
-13,6
+13,7
@@
#ifndef _ASM_POWERPC_VIO_H
#define _ASM_POWERPC_VIO_H
+#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/init.h>
@@
-103,4
+104,5
@@
static inline struct vio_dev *to_vio_dev(struct device *dev)
return container_of(dev, struct vio_dev, dev);
}
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_VIO_H */