thermal/drivers/thermal_hwmon: Include export.h
authorAmit Kucheria <amit.kucheria@linaro.org>
Mon, 11 May 2020 12:24:54 +0000 (17:54 +0530)
committerDaniel 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

index e43ae55..8b92e00 100644 (file)
@@ -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>