]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/net/ethernet/sfc/mcdi.h
sfc: Convert to use hwmon_device_register_with_groups
[linux-beck.git] / drivers / net / ethernet / sfc / mcdi.h
index 656a3277c2b210e69ffd028d059ce10b809e8db8..15816cacb548161bd4a7299909bb83ccd9c222be 100644 (file)
@@ -75,6 +75,8 @@ struct efx_mcdi_mon {
        unsigned long last_update;
        struct device *device;
        struct efx_mcdi_mon_attribute *attrs;
+       struct attribute_group group;
+       const struct attribute_group *groups[2];
        unsigned int n_attrs;
 };