aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_dwc_460ex.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_dwc_460ex.c')
-rw-r--r--drivers/ata/sata_dwc_460ex.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 5c4237452f50..69f7cde49c6b 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1777,18 +1777,7 @@ static struct platform_driver sata_dwc_driver = {
1777 .remove = sata_dwc_remove, 1777 .remove = sata_dwc_remove,
1778}; 1778};
1779 1779
1780static int __init sata_dwc_init(void) 1780module_platform_driver(sata_dwc_driver);
1781{
1782 return platform_driver_register(&sata_dwc_driver);
1783}
1784
1785static void __exit sata_dwc_exit(void)
1786{
1787 platform_driver_unregister(&sata_dwc_driver);
1788}
1789
1790module_init(sata_dwc_init);
1791module_exit(sata_dwc_exit);
1792 1781
1793MODULE_LICENSE("GPL"); 1782MODULE_LICENSE("GPL");
1794MODULE_AUTHOR("Mark Miesfeld <mmiesfeld@amcc.com>"); 1783MODULE_AUTHOR("Mark Miesfeld <mmiesfeld@amcc.com>");