diff options
Diffstat (limited to 'drivers/ide/pci/tc86c001.c')
-rw-r--r-- | drivers/ide/pci/tc86c001.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/tc86c001.c b/drivers/ide/pci/tc86c001.c index 927277c54ec9..a683377d75f1 100644 --- a/drivers/ide/pci/tc86c001.c +++ b/drivers/ide/pci/tc86c001.c | |||
@@ -245,7 +245,7 @@ static const struct pci_device_id tc86c001_pci_tbl[] = { | |||
245 | }; | 245 | }; |
246 | MODULE_DEVICE_TABLE(pci, tc86c001_pci_tbl); | 246 | MODULE_DEVICE_TABLE(pci, tc86c001_pci_tbl); |
247 | 247 | ||
248 | static struct pci_driver driver = { | 248 | static struct pci_driver tc86c001_pci_driver = { |
249 | .name = "TC86C001", | 249 | .name = "TC86C001", |
250 | .id_table = tc86c001_pci_tbl, | 250 | .id_table = tc86c001_pci_tbl, |
251 | .probe = tc86c001_init_one, | 251 | .probe = tc86c001_init_one, |
@@ -254,12 +254,12 @@ static struct pci_driver driver = { | |||
254 | 254 | ||
255 | static int __init tc86c001_ide_init(void) | 255 | static int __init tc86c001_ide_init(void) |
256 | { | 256 | { |
257 | return ide_pci_register_driver(&driver); | 257 | return ide_pci_register_driver(&tc86c001_pci_driver); |
258 | } | 258 | } |
259 | 259 | ||
260 | static void __exit tc86c001_ide_exit(void) | 260 | static void __exit tc86c001_ide_exit(void) |
261 | { | 261 | { |
262 | pci_unregister_driver(&driver); | 262 | pci_unregister_driver(&tc86c001_pci_driver); |
263 | } | 263 | } |
264 | 264 | ||
265 | module_init(tc86c001_ide_init); | 265 | module_init(tc86c001_ide_init); |