diff options
Diffstat (limited to 'include/linux/hwmon.h')
| -rw-r--r-- | include/linux/hwmon.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h index b2514f70d591..09354f6c1d63 100644 --- a/include/linux/hwmon.h +++ b/include/linux/hwmon.h | |||
| @@ -15,9 +15,19 @@ | |||
| 15 | #define _HWMON_H_ | 15 | #define _HWMON_H_ |
| 16 | 16 | ||
| 17 | struct device; | 17 | struct device; |
| 18 | struct attribute_group; | ||
| 18 | 19 | ||
| 19 | struct device *hwmon_device_register(struct device *dev); | 20 | struct device *hwmon_device_register(struct device *dev); |
| 21 | struct device * | ||
| 22 | hwmon_device_register_with_groups(struct device *dev, const char *name, | ||
| 23 | void *drvdata, | ||
| 24 | const struct attribute_group **groups); | ||
| 25 | struct device * | ||
| 26 | devm_hwmon_device_register_with_groups(struct device *dev, const char *name, | ||
| 27 | void *drvdata, | ||
| 28 | const struct attribute_group **groups); | ||
| 20 | 29 | ||
| 21 | void hwmon_device_unregister(struct device *dev); | 30 | void hwmon_device_unregister(struct device *dev); |
| 31 | void devm_hwmon_device_unregister(struct device *dev); | ||
| 22 | 32 | ||
| 23 | #endif | 33 | #endif |
