]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/hwmon.h
hwmon: Introduce hwmon_device_register_with_groups
[karo-tx-linux.git] / include / linux / hwmon.h
index b2514f70d591d799197cdb2c5050bd131641f925..6d02ff77ae1a59bec16607e669f299d77d6ffd56 100644 (file)
 #define _HWMON_H_
 
 struct device;
+struct attribute_group;
 
 struct device *hwmon_device_register(struct device *dev);
+struct device *
+hwmon_device_register_with_groups(struct device *dev, const char *name,
+                                 void *drvdata,
+                                 const struct attribute_group **groups);
 
 void hwmon_device_unregister(struct device *dev);