diff options
Diffstat (limited to 'drivers/ide/pci/ns87415.c')
-rw-r--r-- | drivers/ide/pci/ns87415.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/ns87415.c b/drivers/ide/pci/ns87415.c index 61a143661ee0..13789060f407 100644 --- a/drivers/ide/pci/ns87415.c +++ b/drivers/ide/pci/ns87415.c | |||
@@ -339,7 +339,7 @@ static const struct pci_device_id ns87415_pci_tbl[] = { | |||
339 | }; | 339 | }; |
340 | MODULE_DEVICE_TABLE(pci, ns87415_pci_tbl); | 340 | MODULE_DEVICE_TABLE(pci, ns87415_pci_tbl); |
341 | 341 | ||
342 | static struct pci_driver driver = { | 342 | static struct pci_driver ns87415_pci_driver = { |
343 | .name = "NS87415_IDE", | 343 | .name = "NS87415_IDE", |
344 | .id_table = ns87415_pci_tbl, | 344 | .id_table = ns87415_pci_tbl, |
345 | .probe = ns87415_init_one, | 345 | .probe = ns87415_init_one, |
@@ -350,12 +350,12 @@ static struct pci_driver driver = { | |||
350 | 350 | ||
351 | static int __init ns87415_ide_init(void) | 351 | static int __init ns87415_ide_init(void) |
352 | { | 352 | { |
353 | return ide_pci_register_driver(&driver); | 353 | return ide_pci_register_driver(&ns87415_pci_driver); |
354 | } | 354 | } |
355 | 355 | ||
356 | static void __exit ns87415_ide_exit(void) | 356 | static void __exit ns87415_ide_exit(void) |
357 | { | 357 | { |
358 | pci_unregister_driver(&driver); | 358 | pci_unregister_driver(&ns87415_pci_driver); |
359 | } | 359 | } |
360 | 360 | ||
361 | module_init(ns87415_ide_init); | 361 | module_init(ns87415_ide_init); |