projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
231b98a
)
thermal/drivers/thermal_helpers: Include export.h
author
Amit Kucheria
<amit.kucheria@linaro.org>
Mon, 11 May 2020 12:24:52 +0000
(17:54 +0530)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Fri, 22 May 2020 16:48:53 +0000
(18:48 +0200)
It is preferable to include export.h when you are using EXPORT_SYMBOL
family of macros.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link:
https://lore.kernel.org/r/fd3443f00dbba6ca90f35726c7451ae52145d2d4.1589199124.git.amit.kucheria@linaro.org
drivers/thermal/thermal_helpers.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/thermal_helpers.c
b/drivers/thermal/thermal_helpers.c
index 3d737143ec1184ef8008c9fda5c5fde2ca9a06a6..87b1256fa2f206a03b6eb19f07d9203ae0677cfa 100644
(file)
--- a/
drivers/thermal/thermal_helpers.c
+++ b/
drivers/thermal/thermal_helpers.c
@@
-14,6
+14,7
@@
#include <linux/device.h>
#include <linux/err.h>
+#include <linux/export.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/sysfs.h>