aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/scc_pata.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/scc_pata.c')
-rw-r--r--drivers/ide/pci/scc_pata.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c
index c2e85fc21b5a..3e75bf5f5e37 100644
--- a/drivers/ide/pci/scc_pata.c
+++ b/drivers/ide/pci/scc_pata.c
@@ -944,7 +944,7 @@ static const struct pci_device_id scc_pci_tbl[] = {
944}; 944};
945MODULE_DEVICE_TABLE(pci, scc_pci_tbl); 945MODULE_DEVICE_TABLE(pci, scc_pci_tbl);
946 946
947static struct pci_driver driver = { 947static struct pci_driver scc_pci_driver = {
948 .name = "SCC IDE", 948 .name = "SCC IDE",
949 .id_table = scc_pci_tbl, 949 .id_table = scc_pci_tbl,
950 .probe = scc_init_one, 950 .probe = scc_init_one,
@@ -953,14 +953,14 @@ static struct pci_driver driver = {
953 953
954static int scc_ide_init(void) 954static int scc_ide_init(void)
955{ 955{
956 return ide_pci_register_driver(&driver); 956 return ide_pci_register_driver(&scc_pci_driver);
957} 957}
958 958
959module_init(scc_ide_init); 959module_init(scc_ide_init);
960/* -- No exit code? 960/* -- No exit code?
961static void scc_ide_exit(void) 961static void scc_ide_exit(void)
962{ 962{
963 ide_pci_unregister_driver(&driver); 963 ide_pci_unregister_driver(&scc_pci_driver);
964} 964}
965module_exit(scc_ide_exit); 965module_exit(scc_ide_exit);
966 */ 966 */