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
Merge branches 'x86/alternatives', 'x86/cleanups', 'x86/commandline', 'x86/crashdump...
[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..d3a74e00a3e13455b7ad7f6eec81d58727e40386 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
#ifndef _LINUX_OF_DEVICE_H
#define _LINUX_OF_DEVICE_H
-#ifdef __KERNEL__
#include <linux/device.h>
#include <linux/of.h>
#include <linux/device.h>
#include <linux/of.h>
@@
-25,5
+24,7
@@
static inline void of_device_free(struct of_device *dev)
of_release_dev(&dev->dev);
}
of_release_dev(&dev->dev);
}
-#endif /* __KERNEL__ */
+extern ssize_t of_device_get_modalias(struct of_device *ofdev,
+ char *str, ssize_t len);
+
#endif /* _LINUX_OF_DEVICE_H */
#endif /* _LINUX_OF_DEVICE_H */