diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-29 20:28:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:50:59 -0400 |
commit | 8380770c842faef3001e44662953d64ad9a93663 (patch) | |
tree | 631ce7dae6fe0edb36942e6165f679638f6beb68 /include | |
parent | 3b6662f192fc521b9657f63e68d20ec99979dae6 (diff) |
Driver core: make sysfs uevent-attributes static
Attributes do not have an owner(module) anymore, so there is no need
to carry the attributes in every single bus instance.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 3a38d1f70cb7..5d97ca6d8655 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -64,8 +64,6 @@ struct bus_type { | |||
64 | struct bus_attribute * bus_attrs; | 64 | struct bus_attribute * bus_attrs; |
65 | struct device_attribute * dev_attrs; | 65 | struct device_attribute * dev_attrs; |
66 | struct driver_attribute * drv_attrs; | 66 | struct driver_attribute * drv_attrs; |
67 | struct bus_attribute drivers_autoprobe_attr; | ||
68 | struct bus_attribute drivers_probe_attr; | ||
69 | 67 | ||
70 | int (*match)(struct device * dev, struct device_driver * drv); | 68 | int (*match)(struct device * dev, struct device_driver * drv); |
71 | int (*uevent)(struct device *dev, char **envp, | 69 | int (*uevent)(struct device *dev, char **envp, |