diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2007-12-05 06:50:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:34 -0500 |
commit | 57c745340a60c51d2b9af3d4dcf7e0ede284855b (patch) | |
tree | 92640edef147d32663807207c0c0604e228949e7 /include/linux/device.h | |
parent | 2b937303188807b498d1a3163f60305f0941538e (diff) |
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>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 3f24bf46d298..d974dda4aa51 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -129,6 +129,7 @@ struct device_driver { | |||
129 | void (*shutdown) (struct device * dev); | 129 | void (*shutdown) (struct device * dev); |
130 | int (*suspend) (struct device * dev, pm_message_t state); | 130 | int (*suspend) (struct device * dev, pm_message_t state); |
131 | int (*resume) (struct device * dev); | 131 | int (*resume) (struct device * dev); |
132 | struct attribute_group **groups; | ||
132 | }; | 133 | }; |
133 | 134 | ||
134 | 135 | ||