git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
message
/
i2o
/
driver.c
diff --git
a/drivers/message/i2o/driver.c
b/drivers/message/i2o/driver.c
index
6413022
..
d3235f2
100644
(file)
--- a/
drivers/message/i2o/driver.c
+++ b/
drivers/message/i2o/driver.c
@@
-34,9
+34,7
@@
static spinlock_t i2o_drivers_lock;
static struct i2o_driver **i2o_drivers;
/**
static struct i2o_driver **i2o_drivers;
/**
- * i2o_bus_match - Tell if a I2O device class id match the class ids of
- * the I2O driver (OSM)
- *
+ * i2o_bus_match - Tell if I2O device class id matches the class ids of the I2O driver (OSM)
* @dev: device which should be verified
* @drv: the driver to match against
*
* @dev: device which should be verified
* @drv: the driver to match against
*
@@
-232,7
+230,7
@@
int i2o_driver_dispatch(struct i2o_controller *c, u32 m)
break;
}
break;
}
- INIT_WORK(&evt->work,
(void (*)(void *))drv->event, ev
t);
+ INIT_WORK(&evt->work,
drv->even
t);
queue_work(drv->event_queue, &evt->work);
return 1;
}
queue_work(drv->event_queue, &evt->work);
return 1;
}
@@
-248,7
+246,7
@@
int i2o_driver_dispatch(struct i2o_controller *c, u32 m)
/**
* i2o_driver_notify_controller_add_all - Send notify of added controller
/**
* i2o_driver_notify_controller_add_all - Send notify of added controller
- *
to all I2O drivers
+ *
@c: newly added controller
*
* Send notifications to all registered drivers that a new controller was
* added.
*
* Send notifications to all registered drivers that a new controller was
* added.
@@
-267,8
+265,8
@@
void i2o_driver_notify_controller_add_all(struct i2o_controller *c)
}
/**
}
/**
- * i2o_driver_notify_controller_remove_all - Send notify of removed
- *
controller to all I2O drivers
+ * i2o_driver_notify_controller_remove_all - Send notify of removed
controller
+ *
@c: controller that is being removed
*
* Send notifications to all registered drivers that a controller was
* removed.
*
* Send notifications to all registered drivers that a controller was
* removed.
@@
-287,8
+285,8
@@
void i2o_driver_notify_controller_remove_all(struct i2o_controller *c)
}
/**
}
/**
- * i2o_driver_notify_device_add_all - Send notify of added device
to all
- *
I2O drivers
+ * i2o_driver_notify_device_add_all - Send notify of added device
+ *
@i2o_dev: newly added I2O device
*
* Send notifications to all registered drivers that a device was added.
*/
*
* Send notifications to all registered drivers that a device was added.
*/
@@
-306,8
+304,8
@@
void i2o_driver_notify_device_add_all(struct i2o_device *i2o_dev)
}
/**
}
/**
- * i2o_driver_notify_device_remove_all - Send notify of removed device
to
- *
all I2O drivers
+ * i2o_driver_notify_device_remove_all - Send notify of removed device
+ *
@i2o_dev: device that is being removed
*
* Send notifications to all registered drivers that a device was removed.
*/
*
* Send notifications to all registered drivers that a device was removed.
*/
@@
-362,9
+360,9
@@
int __init i2o_driver_init(void)
/**
* i2o_driver_exit - clean up I2O drivers (OSMs)
*
/**
* i2o_driver_exit - clean up I2O drivers (OSMs)
*
- * Unregisters the I2O bus and free driver array.
+ * Unregisters the I2O bus and free
s
driver array.
*/
*/
-void
__exit
i2o_driver_exit(void)
+void i2o_driver_exit(void)
{
bus_unregister(&i2o_bus_type);
kfree(i2o_drivers);
{
bus_unregister(&i2o_bus_type);
kfree(i2o_drivers);