diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-27 11:06:09 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 08:08:38 +0400 |
commit | de0ff00d723fd821d372496e2c084805644aa5e1 (patch) | |
tree | d8d8f46f17d84b7b7b40e49e9dd54dcb8f1a2684 /include/linux/device.h | |
parent | 386415d88b1ae50304f9c61aa3e0db082fa90428 (diff) | |
download | linux-de0ff00d723fd821d372496e2c084805644aa5e1.tar.xz |
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/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 b3646462d6dc..994d3ebd53f4 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -344,6 +344,7 @@ struct device { struct list_head node; struct class *class; /* optional*/ dev_t devt; /* dev_t, creates the sysfs "dev" */ + struct attribute_group **groups; /* optional groups */ void (*release)(struct device * dev); }; |