projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc: Remove old dump_task_* functions
[firefly-linux-kernel-4.4.55.git]
/
include
/
asm-powerpc
/
macio.h
diff --git
a/include/asm-powerpc/macio.h
b/include/asm-powerpc/macio.h
index b553dd4b139ef21c2bfb08481209a071ccf0f750..079c06eae4466d4319cafed887a6faa25d6cd930 100644
(file)
--- a/
include/asm-powerpc/macio.h
+++ b/
include/asm-powerpc/macio.h
@@
-1,7
+1,8
@@
#ifndef __MACIO_ASIC_H__
#define __MACIO_ASIC_H__
#ifndef __MACIO_ASIC_H__
#define __MACIO_ASIC_H__
+#ifdef __KERNEL__
-#include <
asm
/of_device.h>
+#include <
linux
/of_device.h>
extern struct bus_type macio_bus_type;
extern struct bus_type macio_bus_type;
@@
-137,4
+138,5
@@
struct macio_driver
extern int macio_register_driver(struct macio_driver *);
extern void macio_unregister_driver(struct macio_driver *);
extern int macio_register_driver(struct macio_driver *);
extern void macio_unregister_driver(struct macio_driver *);
+#endif /* __KERNEL__ */
#endif /* __MACIO_ASIC_H__ */
#endif /* __MACIO_ASIC_H__ */