summaryrefslogtreecommitdiffstats
path: root/include/linux/hwmon-sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hwmon-sysfs.h')
-rw-r--r--include/linux/hwmon-sysfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hwmon-sysfs.h b/include/linux/hwmon-sysfs.h
index a90c09d..1c7b89a 100644
--- a/include/linux/hwmon-sysfs.h
+++ b/include/linux/hwmon-sysfs.h
@@ -20,6 +20,8 @@
#ifndef _LINUX_HWMON_SYSFS_H
#define _LINUX_HWMON_SYSFS_H
+#include <linux/device.h>
+
struct sensor_device_attribute{
struct device_attribute dev_attr;
int index;
OpenPOWER on IntegriCloud