driver-core: Allow additional parameters for module_driver
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 25 Feb 2012 10:25:58 +0000 (11:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Mar 2012 00:37:56 +0000 (16:37 -0800)
commitcd4946188aac597d187a765127fd26fa3644c29f
tree01833671b4891a1489ed0a6a75e37494486801d2
parentb086cf04fc1bfc89b306aab2fb0f67e3cc294037
driver-core: Allow additional parameters for module_driver

Allow module_driver take additional parameters which will be passed to the
register and unregister function calls. This allows it to be used in cases
where additional parameters are required (e.g. usb_serial_register_drivers).

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h