diff options
Diffstat (limited to 'arch/arm/mach-pxa/pxa3xx-ulpi.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa3xx-ulpi.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx-ulpi.c b/arch/arm/mach-pxa/pxa3xx-ulpi.c index 7dbe3ccf1993..e329ccefd364 100644 --- a/arch/arm/mach-pxa/pxa3xx-ulpi.c +++ b/arch/arm/mach-pxa/pxa3xx-ulpi.c | |||
@@ -384,18 +384,7 @@ static struct platform_driver pxa3xx_u2d_ulpi_driver = { | |||
384 | .probe = pxa3xx_u2d_probe, | 384 | .probe = pxa3xx_u2d_probe, |
385 | .remove = pxa3xx_u2d_remove, | 385 | .remove = pxa3xx_u2d_remove, |
386 | }; | 386 | }; |
387 | 387 | module_platform_driver(pxa3xx_u2d_ulpi_driver); | |
388 | static int pxa3xx_u2d_ulpi_init(void) | ||
389 | { | ||
390 | return platform_driver_register(&pxa3xx_u2d_ulpi_driver); | ||
391 | } | ||
392 | module_init(pxa3xx_u2d_ulpi_init); | ||
393 | |||
394 | static void __exit pxa3xx_u2d_ulpi_exit(void) | ||
395 | { | ||
396 | platform_driver_unregister(&pxa3xx_u2d_ulpi_driver); | ||
397 | } | ||
398 | module_exit(pxa3xx_u2d_ulpi_exit); | ||
399 | 388 | ||
400 | MODULE_DESCRIPTION("PXA3xx U2D ULPI driver"); | 389 | MODULE_DESCRIPTION("PXA3xx U2D ULPI driver"); |
401 | MODULE_AUTHOR("Igor Grinberg"); | 390 | MODULE_AUTHOR("Igor Grinberg"); |