summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2004-07-08 02:41:56 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2004-07-08 02:41:56 -0700
commit8f855b02474fd4c03a56db194a185265ba471c90 (patch)
tree9170b0698b4d1d9e8bba5c20d91f059c9e496d5a /include/linux/device.h
parent5966c83747f8e71514ab6b0229977a565c0eb302 (diff)
[PATCH] Driver core: add default driver attributes to struct bus_type
Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
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 eb6485821a79..5e7f4219a8b8 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -56,6 +56,7 @@ struct bus_type {
struct bus_attribute * bus_attrs;
struct device_attribute * dev_attrs;
+ struct driver_attribute * drv_attrs;
int (*match)(struct device * dev, struct device_driver * drv);
struct device * (*add) (struct device * parent, char * bus_id);