summaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-27 00:06:09 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-25 21:08:38 -0700
commitde0ff00d723fd821d372496e2c084805644aa5e1 (patch)
treed8d8f46f17d84b7b7b40e49e9dd54dcb8f1a2684 /include/linux/device.h
parent386415d88b1ae50304f9c61aa3e0db082fa90428 (diff)
downloadblackbird-op-linux-de0ff00d723fd821d372496e2c084805644aa5e1.tar.gz
blackbird-op-linux-de0ff00d723fd821d372496e2c084805644aa5e1.zip
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.h1
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);
};
OpenPOWER on IntegriCloud