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
Remove "#ifdef __KERNEL__" checks from unexported headers
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
of_device.h
diff --git
a/include/linux/of_device.h
b/include/linux/of_device.h
index 6dc11959770c23da51f4fa394c9b694f60aa1ff1..afe338217d91cc0b3e0166c0d9511970f4401871 100644
(file)
--- a/
include/linux/of_device.h
+++ b/
include/linux/of_device.h
@@
-1,6
+1,5
@@
#ifndef _LINUX_OF_DEVICE_H
#define _LINUX_OF_DEVICE_H
-#ifdef __KERNEL__
#include <linux/device.h>
#include <linux/of.h>
@@
-25,5
+24,4
@@
static inline void of_device_free(struct of_device *dev)
of_release_dev(&dev->dev);
}
-#endif /* __KERNEL__ */
#endif /* _LINUX_OF_DEVICE_H */