Merge branch 'common/intc-extension' into sh-latest
[firefly-linux-kernel-4.4.55.git] / include / linux / hwmon.h
index 0efd994c37f17112337a9b58eaf15cee389d6f93..82b29ae6ebb0d38235a364f447263a4183c66534 100644 (file)
 #ifndef _HWMON_H_
 #define _HWMON_H_
 
-#include <linux/device.h>
+struct device;
 
-struct class_device *hwmon_device_register(struct device *dev);
+struct device *hwmon_device_register(struct device *dev);
 
-void hwmon_device_unregister(struct class_device *cdev);
+void hwmon_device_unregister(struct device *dev);
 
 /* Scale user input to sensible values */
 static inline int SENSORS_LIMIT(long value, long low, long high)