diff options
Diffstat (limited to 'drivers/ata/pata_at91.c')
-rw-r--r-- | drivers/ata/pata_at91.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/ata/pata_at91.c b/drivers/ata/pata_at91.c index 5249e6d918a3..a7d91a72ee35 100644 --- a/drivers/ata/pata_at91.c +++ b/drivers/ata/pata_at91.c | |||
@@ -454,20 +454,7 @@ static struct platform_driver pata_at91_driver = { | |||
454 | }, | 454 | }, |
455 | }; | 455 | }; |
456 | 456 | ||
457 | static int __init pata_at91_init(void) | 457 | module_platform_driver(pata_at91_driver); |
458 | { | ||
459 | return platform_driver_register(&pata_at91_driver); | ||
460 | } | ||
461 | |||
462 | static void __exit pata_at91_exit(void) | ||
463 | { | ||
464 | platform_driver_unregister(&pata_at91_driver); | ||
465 | } | ||
466 | |||
467 | |||
468 | module_init(pata_at91_init); | ||
469 | module_exit(pata_at91_exit); | ||
470 | |||
471 | 458 | ||
472 | MODULE_LICENSE("GPL"); | 459 | MODULE_LICENSE("GPL"); |
473 | MODULE_DESCRIPTION("Driver for CF in True IDE mode on AT91SAM9260 SoC"); | 460 | MODULE_DESCRIPTION("Driver for CF in True IDE mode on AT91SAM9260 SoC"); |