summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorAmit Kucheria <amit.kucheria@linaro.org>2020-05-11 14:24:50 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-05-22 18:48:53 +0200
commit3f0cfea3dd6ed7cd176376bb4a5488b75b938d96 (patch)
tree96481ec89ee3badcbd6058222e391ee6f66771dc /drivers/thermal
parentthermal/core: Get rid of MODULE_* tags (diff)
downloadlinux-3f0cfea3dd6ed7cd176376bb4a5488b75b938d96.tar.xz
linux-3f0cfea3dd6ed7cd176376bb4a5488b75b938d96.zip
thermal/core: Replace module.h with export.h
Thermal core cannot be modular, remove the unnecessary module.h include and replace with export.h to handle 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/33af23406dcdb0c62dae1e6401446b997ccb449f.1589199124.git.amit.kucheria@linaro.org
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/thermal_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index dd3f4e87857b..b71196eaf90e 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -9,9 +9,9 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-#include <linux/module.h>
#include <linux/device.h>
#include <linux/err.h>
+#include <linux/export.h>
#include <linux/slab.h>
#include <linux/kdev_t.h>
#include <linux/idr.h>