aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_piccolo.c
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /drivers/ata/pata_piccolo.c
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'drivers/ata/pata_piccolo.c')
-rw-r--r--drivers/ata/pata_piccolo.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/drivers/ata/pata_piccolo.c b/drivers/ata/pata_piccolo.c
index 2beb6b5045f..cb01bf9496f 100644
--- a/drivers/ata/pata_piccolo.c
+++ b/drivers/ata/pata_piccolo.c
@@ -117,10 +117,24 @@ static struct pci_driver ata_tosh_pci_driver = {
117#endif 117#endif
118}; 118};
119 119
120module_pci_driver(ata_tosh_pci_driver); 120static int __init ata_tosh_init(void)
121{
122 return pci_register_driver(&ata_tosh_pci_driver);
123}
124
125
126static void __exit ata_tosh_exit(void)
127{
128 pci_unregister_driver(&ata_tosh_pci_driver);
129}
130
121 131
122MODULE_AUTHOR("Alan Cox"); 132MODULE_AUTHOR("Alan Cox");
123MODULE_DESCRIPTION("Low level driver for Toshiba Piccolo ATA"); 133MODULE_DESCRIPTION("Low level driver for Toshiba Piccolo ATA");
124MODULE_LICENSE("GPL"); 134MODULE_LICENSE("GPL");
125MODULE_DEVICE_TABLE(pci, ata_tosh); 135MODULE_DEVICE_TABLE(pci, ata_tosh);
126MODULE_VERSION(DRV_VERSION); 136MODULE_VERSION(DRV_VERSION);
137
138module_init(ata_tosh_init);
139module_exit(ata_tosh_exit);
140