aboutsummaryrefslogtreecommitdiff
path: root/drivers/message/i2o/driver.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-09-29 00:40:07 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 09:52:51 -0700
commit7bd7b091429705eb281d60c553cc643aada8045a (patch)
tree09f4559ad780b81a3c3a72a5d8d1d3278b01807b /drivers/message/i2o/driver.c
parent607cf4d9aa1d766890f42fc892d39d48cf6d6c16 (diff)
[PATCH] I2O: remove i2o_device_class
I2O: cleanup - remove i2o_device_class I2O devices reside on their own bus so there should be no reason to also have i2c_device class that mirros i2o bus. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/message/i2o/driver.c')
-rw-r--r--drivers/message/i2o/driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/message/i2o/driver.c b/drivers/message/i2o/driver.c
index 739bfdef0c6..0079a4be0af 100644
--- a/drivers/message/i2o/driver.c
+++ b/drivers/message/i2o/driver.c
@@ -58,9 +58,12 @@ static int i2o_bus_match(struct device *dev, struct device_driver *drv)
};
/* I2O bus type */
+extern struct device_attribute i2o_device_attrs[];
+
struct bus_type i2o_bus_type = {
.name = "i2o",
.match = i2o_bus_match,
+ .dev_attrs = i2o_device_attrs,
};
/**