summaryrefslogtreecommitdiffstats
path: root/drivers/message/i2o/driver.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-09-29 07:40:07 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 18:52:51 +0200
commit7bd7b091429705eb281d60c553cc643aada8045a (patch)
tree09f4559ad780b81a3c3a72a5d8d1d3278b01807b /drivers/message/i2o/driver.c
parent[PATCH] I2O: Clean up some pretty bad driver model abuses in the i2o code (diff)
downloadlinux-7bd7b091429705eb281d60c553cc643aada8045a.tar.xz
linux-7bd7b091429705eb281d60c553cc643aada8045a.zip
[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 739bfdef0c6d..0079a4be0af2 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,
};
/**