projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1330e04
)
thermal/drivers/thermal_hwmon: Include export.h
author
Amit Kucheria
<amit.kucheria@linaro.org>
Mon, 11 May 2020 12:24:54 +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/f542962494a8441fdc8e550a11d0e535b92362a0.1589199124.git.amit.kucheria@linaro.org
drivers/thermal/thermal_hwmon.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/thermal_hwmon.c
b/drivers/thermal/thermal_hwmon.c
index
e43ae55
..
8b92e00
100644
(file)
--- a/
drivers/thermal/thermal_hwmon.c
+++ b/
drivers/thermal/thermal_hwmon.c
@@
-11,6
+11,7
@@
* Copyright (C) 2013 Eduardo Valentin <eduardo.valentin@ti.com>
*/
#include <linux/err.h>
+#include <linux/export.h>
#include <linux/hwmon.h>
#include <linux/slab.h>
#include <linux/thermal.h>