diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-27 03:06:09 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 00:08:38 -0400 |
commit | de0ff00d723fd821d372496e2c084805644aa5e1 (patch) | |
tree | d8d8f46f17d84b7b7b40e49e9dd54dcb8f1a2684 /include | |
parent | 386415d88b1ae50304f9c61aa3e0db082fa90428 (diff) |
Driver core: add groups support to struct device
This is needed for the network class devices in order to be able to
convert over to use struct device.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-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 b3646462d6dc..994d3ebd53f4 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -344,6 +344,7 @@ struct device { | |||
344 | struct list_head node; | 344 | struct list_head node; |
345 | struct class *class; /* optional*/ | 345 | struct class *class; /* optional*/ |
346 | dev_t devt; /* dev_t, creates the sysfs "dev" */ | 346 | dev_t devt; /* dev_t, creates the sysfs "dev" */ |
347 | struct attribute_group **groups; /* optional groups */ | ||
347 | 348 | ||
348 | void (*release)(struct device * dev); | 349 | void (*release)(struct device * dev); |
349 | }; | 350 | }; |