]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/base/base.h
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
[mirror_ubuntu-artful-kernel.git] / drivers / base / base.h
index b8bdfe61daa616e02e475e3b58602eb5d2cc5f78..2cbc6774f4cdb904868ee1f0344753c0e1f5dcd8 100644 (file)
@@ -119,6 +119,16 @@ static inline int driver_match_device(struct device_driver *drv,
        return drv->bus->match ? drv->bus->match(dev, drv) : 1;
 }
 
+extern int driver_add_groups(struct device_driver *drv,
+                            const struct attribute_group **groups);
+extern void driver_remove_groups(struct device_driver *drv,
+                                const struct attribute_group **groups);
+
+extern int device_add_groups(struct device *dev,
+                            const struct attribute_group **groups);
+extern void device_remove_groups(struct device *dev,
+                                const struct attribute_group **groups);
+
 extern char *make_class_name(const char *name, struct kobject *kobj);
 
 extern int devres_release_all(struct device *dev);