diff options
Diffstat (limited to 'drivers/usb/host/ohci-pnx4008.c')
-rw-r--r-- | drivers/usb/host/ohci-pnx4008.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/drivers/usb/host/ohci-pnx4008.c b/drivers/usb/host/ohci-pnx4008.c index 7f26f9bdbaf1..893b172384da 100644 --- a/drivers/usb/host/ohci-pnx4008.c +++ b/drivers/usb/host/ohci-pnx4008.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * driver for Philips PNX4008 USB Host | 4 | * driver for Philips PNX4008 USB Host |
5 | * | 5 | * |
6 | * Authors: Dmitry Chigirev <source@mvista.com> | 6 | * Authors: Dmitry Chigirev <source@mvista.com> |
7 | * Vitaly Wool <vitalywool@gmail.com> | 7 | * Vitaly Wool <vitalywool@gmail.com> |
8 | * | 8 | * |
9 | * register initialization is based on code examples provided by Philips | 9 | * register initialization is based on code examples provided by Philips |
10 | * Copyright (c) 2005 Koninklijke Philips Electronics N.V. | 10 | * Copyright (c) 2005 Koninklijke Philips Electronics N.V. |
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/arch/irqs.h> | 29 | #include <asm/arch/irqs.h> |
30 | #include <asm/arch/gpio.h> | 30 | #include <asm/arch/gpio.h> |
31 | 31 | ||
32 | #define USB_CTRL IO_ADDRESS(PNX4008_PWRMAN_BASE + 0x64) | 32 | #define USB_CTRL IO_ADDRESS(PNX4008_PWRMAN_BASE + 0x64) |
33 | 33 | ||
34 | /* USB_CTRL bit defines */ | 34 | /* USB_CTRL bit defines */ |
35 | #define USB_SLAVE_HCLK_EN (1 << 24) | 35 | #define USB_SLAVE_HCLK_EN (1 << 24) |
@@ -465,15 +465,3 @@ static struct platform_driver usb_hcd_pnx4008_driver = { | |||
465 | .remove = usb_hcd_pnx4008_remove, | 465 | .remove = usb_hcd_pnx4008_remove, |
466 | }; | 466 | }; |
467 | 467 | ||
468 | static int __init usb_hcd_pnx4008_init(void) | ||
469 | { | ||
470 | return platform_driver_register(&usb_hcd_pnx4008_driver); | ||
471 | } | ||
472 | |||
473 | static void __exit usb_hcd_pnx4008_cleanup(void) | ||
474 | { | ||
475 | return platform_driver_unregister(&usb_hcd_pnx4008_driver); | ||
476 | } | ||
477 | |||
478 | module_init(usb_hcd_pnx4008_init); | ||
479 | module_exit(usb_hcd_pnx4008_cleanup); | ||