diff options
Diffstat (limited to 'drivers/ide/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/au1xxx-ide.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ide/au1xxx-ide.c b/drivers/ide/au1xxx-ide.c index 259786ca8b75..07ea58084068 100644 --- a/drivers/ide/au1xxx-ide.c +++ b/drivers/ide/au1xxx-ide.c | |||
@@ -592,18 +592,7 @@ static struct platform_driver au1200_ide_driver = { | |||
592 | .remove = au_ide_remove, | 592 | .remove = au_ide_remove, |
593 | }; | 593 | }; |
594 | 594 | ||
595 | static int __init au_ide_init(void) | 595 | module_platform_driver(au1200_ide_driver); |
596 | { | ||
597 | return platform_driver_register(&au1200_ide_driver); | ||
598 | } | ||
599 | |||
600 | static void __exit au_ide_exit(void) | ||
601 | { | ||
602 | platform_driver_unregister(&au1200_ide_driver); | ||
603 | } | ||
604 | 596 | ||
605 | MODULE_LICENSE("GPL"); | 597 | MODULE_LICENSE("GPL"); |
606 | MODULE_DESCRIPTION("AU1200 IDE driver"); | 598 | MODULE_DESCRIPTION("AU1200 IDE driver"); |
607 | |||
608 | module_init(au_ide_init); | ||
609 | module_exit(au_ide_exit); | ||