Skip to contentSkip to conversation

I2O: Remove wrong I2O device class

PATCH In review Markus Lidel 1 participant 1 message Nov 15, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 I2O: Remove wrong I2O device class

Changes:
--------
- Removed wrong I2O device class, which was only needed to add sysfs attributes.

drivers/message/i2o/core.h +0 -3
Index: linux-2.6.14/drivers/message/i2o/core.h
===================================================================
@@ -36,9 +36,6 @@
 extern void i2o_device_remove(struct i2o_device *);
 extern int i2o_device_parse_lct(struct i2o_controller *);
 
-extern int i2o_device_init(void);
-extern void i2o_device_exit(void);
-
 /* IOP */
 extern struct i2o_controller *i2o_iop_alloc(void);
 extern void i2o_iop_free(struct i2o_controller *);
drivers/message/i2o/device.c +87 -164

310 lines not on this page · raw message

drivers/message/i2o/iop.c +5 -39

110 lines not on this page · raw message

include/linux/i2o.h +0 -1
Index: linux-2.6.14/include/linux/i2o.h
===================================================================
@@ -559,7 +559,6 @@
 	struct resource mem_resource;	/* Mem resource allocated to the IOP */
 
 	struct device device;
-	struct class_device classdev;	/* I2O controller class */
 	struct i2o_device *exec;	/* Executive */
 #if BITS_PER_LONG == 64
 	spinlock_t context_list_lock;	/* lock for context_list */