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_old.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_old.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index 6d9240a9dcfa..649b807c6aa6 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c | |||
@@ -426,7 +426,7 @@ static const struct pci_device_id pdc202xx_pci_tbl[] = { | |||
426 | }; | 426 | }; |
427 | MODULE_DEVICE_TABLE(pci, pdc202xx_pci_tbl); | 427 | MODULE_DEVICE_TABLE(pci, pdc202xx_pci_tbl); |
428 | 428 | ||
429 | static struct pci_driver driver = { | 429 | static struct pci_driver pdc202xx_pci_driver = { |
430 | .name = "Promise_Old_IDE", | 430 | .name = "Promise_Old_IDE", |
431 | .id_table = pdc202xx_pci_tbl, | 431 | .id_table = pdc202xx_pci_tbl, |
432 | .probe = pdc202xx_init_one, | 432 | .probe = pdc202xx_init_one, |
@@ -437,12 +437,12 @@ static struct pci_driver driver = { | |||
437 | 437 | ||
438 | static int __init pdc202xx_ide_init(void) | 438 | static int __init pdc202xx_ide_init(void) |
439 | { | 439 | { |
440 | return ide_pci_register_driver(&driver); | 440 | return ide_pci_register_driver(&pdc202xx_pci_driver); |
441 | } | 441 | } |
442 | 442 | ||
443 | static void __exit pdc202xx_ide_exit(void) | 443 | static void __exit pdc202xx_ide_exit(void) |
444 | { | 444 | { |
445 | pci_unregister_driver(&driver); | 445 | pci_unregister_driver(&pdc202xx_pci_driver); |
446 | } | 446 | } |
447 | 447 | ||
448 | module_init(pdc202xx_ide_init); | 448 | module_init(pdc202xx_ide_init); |