diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:41 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:41 -0400 |
commit | a9ab09e26055a76295548ca36ec00de2f4367d32 (patch) | |
tree | 51f1c279e74e3d5b3ec920b33fae579339dd67ad /drivers/ide/pci/pdc202xx_new.c | |
parent | d6ff9f64e68d23feab44efa07cc6aee01f3ef32b (diff) |
ide: use unique names for struct pci_driver instances
Noticed-by: Russell King <rmk+lkml@arm.linux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/pdc202xx_new.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_new.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c index 9fc59962553b..211ae46e3e0c 100644 --- a/drivers/ide/pci/pdc202xx_new.c +++ b/drivers/ide/pci/pdc202xx_new.c | |||
@@ -561,7 +561,7 @@ static const struct pci_device_id pdc202new_pci_tbl[] = { | |||
561 | }; | 561 | }; |
562 | MODULE_DEVICE_TABLE(pci, pdc202new_pci_tbl); | 562 | MODULE_DEVICE_TABLE(pci, pdc202new_pci_tbl); |
563 | 563 | ||
564 | static struct pci_driver driver = { | 564 | static struct pci_driver pdc202new_pci_driver = { |
565 | .name = "Promise_IDE", | 565 | .name = "Promise_IDE", |
566 | .id_table = pdc202new_pci_tbl, | 566 | .id_table = pdc202new_pci_tbl, |
567 | .probe = pdc202new_init_one, | 567 | .probe = pdc202new_init_one, |
@@ -572,12 +572,12 @@ static struct pci_driver driver = { | |||
572 | 572 | ||
573 | static int __init pdc202new_ide_init(void) | 573 | static int __init pdc202new_ide_init(void) |
574 | { | 574 | { |
575 | return ide_pci_register_driver(&driver); | 575 | return ide_pci_register_driver(&pdc202new_pci_driver); |
576 | } | 576 | } |
577 | 577 | ||
578 | static void __exit pdc202new_ide_exit(void) | 578 | static void __exit pdc202new_ide_exit(void) |
579 | { | 579 | { |
580 | pci_unregister_driver(&driver); | 580 | pci_unregister_driver(&pdc202new_pci_driver); |
581 | } | 581 | } |
582 | 582 | ||
583 | module_init(pdc202new_ide_init); | 583 | module_init(pdc202new_ide_init); |