summaryrefslogtreecommitdiff
path: root/drivers/hwmon/as370-hwmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/as370-hwmon.c')
-rw-r--r--drivers/hwmon/as370-hwmon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/as370-hwmon.c b/drivers/hwmon/as370-hwmon.c
index fffbf385a57f..316454bd983d 100644
--- a/drivers/hwmon/as370-hwmon.c
+++ b/drivers/hwmon/as370-hwmon.c
@@ -11,7 +11,8 @@
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
-#include <linux/of_device.h>
+#include <linux/mod_devicetable.h>
+#include <linux/platform_device.h>
#define CTRL 0x0
#define PD BIT(0)