X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fhwmon.h;h=6b6ee702b007406d44352f1104a43f4fb4d91cd7;hb=90a2b69c14d0f0b6cbd124caf429ae9033f0615c;hp=0efd994c37f17112337a9b58eaf15cee389d6f93;hpb=c85b2a5fe200d744a814d23c258460d4fc98a546;p=~andy%2Flinux diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h index 0efd994c37f..6b6ee702b00 100644 --- a/include/linux/hwmon.h +++ b/include/linux/hwmon.h @@ -16,9 +16,9 @@ #include -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)