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/sis5513.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/sis5513.c')
-rw-r--r-- | drivers/ide/pci/sis5513.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c index 734dd41f1f67..ad32e18c5ba3 100644 --- a/drivers/ide/pci/sis5513.c +++ b/drivers/ide/pci/sis5513.c | |||
@@ -605,7 +605,7 @@ static const struct pci_device_id sis5513_pci_tbl[] = { | |||
605 | }; | 605 | }; |
606 | MODULE_DEVICE_TABLE(pci, sis5513_pci_tbl); | 606 | MODULE_DEVICE_TABLE(pci, sis5513_pci_tbl); |
607 | 607 | ||
608 | static struct pci_driver driver = { | 608 | static struct pci_driver sis5513_pci_driver = { |
609 | .name = "SIS_IDE", | 609 | .name = "SIS_IDE", |
610 | .id_table = sis5513_pci_tbl, | 610 | .id_table = sis5513_pci_tbl, |
611 | .probe = sis5513_init_one, | 611 | .probe = sis5513_init_one, |
@@ -616,12 +616,12 @@ static struct pci_driver driver = { | |||
616 | 616 | ||
617 | static int __init sis5513_ide_init(void) | 617 | static int __init sis5513_ide_init(void) |
618 | { | 618 | { |
619 | return ide_pci_register_driver(&driver); | 619 | return ide_pci_register_driver(&sis5513_pci_driver); |
620 | } | 620 | } |
621 | 621 | ||
622 | static void __exit sis5513_ide_exit(void) | 622 | static void __exit sis5513_ide_exit(void) |
623 | { | 623 | { |
624 | pci_unregister_driver(&driver); | 624 | pci_unregister_driver(&sis5513_pci_driver); |
625 | } | 625 | } |
626 | 626 | ||
627 | module_init(sis5513_ide_init); | 627 | module_init(sis5513_ide_init); |