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/slc90e66.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/slc90e66.c')
-rw-r--r-- | drivers/ide/pci/slc90e66.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/slc90e66.c b/drivers/ide/pci/slc90e66.c index a9551a13ac57..0f759e4ed779 100644 --- a/drivers/ide/pci/slc90e66.c +++ b/drivers/ide/pci/slc90e66.c | |||
@@ -154,7 +154,7 @@ static const struct pci_device_id slc90e66_pci_tbl[] = { | |||
154 | }; | 154 | }; |
155 | MODULE_DEVICE_TABLE(pci, slc90e66_pci_tbl); | 155 | MODULE_DEVICE_TABLE(pci, slc90e66_pci_tbl); |
156 | 156 | ||
157 | static struct pci_driver driver = { | 157 | static struct pci_driver slc90e66_pci_driver = { |
158 | .name = "SLC90e66_IDE", | 158 | .name = "SLC90e66_IDE", |
159 | .id_table = slc90e66_pci_tbl, | 159 | .id_table = slc90e66_pci_tbl, |
160 | .probe = slc90e66_init_one, | 160 | .probe = slc90e66_init_one, |
@@ -165,12 +165,12 @@ static struct pci_driver driver = { | |||
165 | 165 | ||
166 | static int __init slc90e66_ide_init(void) | 166 | static int __init slc90e66_ide_init(void) |
167 | { | 167 | { |
168 | return ide_pci_register_driver(&driver); | 168 | return ide_pci_register_driver(&slc90e66_pci_driver); |
169 | } | 169 | } |
170 | 170 | ||
171 | static void __exit slc90e66_ide_exit(void) | 171 | static void __exit slc90e66_ide_exit(void) |
172 | { | 172 | { |
173 | pci_unregister_driver(&driver); | 173 | pci_unregister_driver(&slc90e66_pci_driver); |
174 | } | 174 | } |
175 | 175 | ||
176 | module_init(slc90e66_ide_init); | 176 | module_init(slc90e66_ide_init); |