driver core: Introduce default attribute groups.
This is lot like default attributes for devices (and indeed, a lot of the code is lifted from there). Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2b93730318
commit
57c745340a
@@ -129,6 +129,7 @@ struct device_driver {
|
||||
void (*shutdown) (struct device * dev);
|
||||
int (*suspend) (struct device * dev, pm_message_t state);
|
||||
int (*resume) (struct device * dev);
|
||||
struct attribute_group **groups;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user