diff options
Diffstat (limited to 'drivers/input/joystick/xpad.c')
-rw-r--r-- | drivers/input/joystick/xpad.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index d72887585a14..32bbd4c77b7c 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c | |||
@@ -1041,18 +1041,7 @@ static struct usb_driver xpad_driver = { | |||
1041 | .id_table = xpad_table, | 1041 | .id_table = xpad_table, |
1042 | }; | 1042 | }; |
1043 | 1043 | ||
1044 | static int __init usb_xpad_init(void) | 1044 | module_usb_driver(xpad_driver); |
1045 | { | ||
1046 | return usb_register(&xpad_driver); | ||
1047 | } | ||
1048 | |||
1049 | static void __exit usb_xpad_exit(void) | ||
1050 | { | ||
1051 | usb_deregister(&xpad_driver); | ||
1052 | } | ||
1053 | |||
1054 | module_init(usb_xpad_init); | ||
1055 | module_exit(usb_xpad_exit); | ||
1056 | 1045 | ||
1057 | MODULE_AUTHOR(DRIVER_AUTHOR); | 1046 | MODULE_AUTHOR(DRIVER_AUTHOR); |
1058 | MODULE_DESCRIPTION(DRIVER_DESC); | 1047 | MODULE_DESCRIPTION(DRIVER_DESC); |