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/atiixp.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/atiixp.c')
-rw-r--r-- | drivers/ide/pci/atiixp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/atiixp.c b/drivers/ide/pci/atiixp.c index e4437034dd08..b2735d28f5cc 100644 --- a/drivers/ide/pci/atiixp.c +++ b/drivers/ide/pci/atiixp.c | |||
@@ -182,7 +182,7 @@ static const struct pci_device_id atiixp_pci_tbl[] = { | |||
182 | }; | 182 | }; |
183 | MODULE_DEVICE_TABLE(pci, atiixp_pci_tbl); | 183 | MODULE_DEVICE_TABLE(pci, atiixp_pci_tbl); |
184 | 184 | ||
185 | static struct pci_driver driver = { | 185 | static struct pci_driver atiixp_pci_driver = { |
186 | .name = "ATIIXP_IDE", | 186 | .name = "ATIIXP_IDE", |
187 | .id_table = atiixp_pci_tbl, | 187 | .id_table = atiixp_pci_tbl, |
188 | .probe = atiixp_init_one, | 188 | .probe = atiixp_init_one, |
@@ -193,12 +193,12 @@ static struct pci_driver driver = { | |||
193 | 193 | ||
194 | static int __init atiixp_ide_init(void) | 194 | static int __init atiixp_ide_init(void) |
195 | { | 195 | { |
196 | return ide_pci_register_driver(&driver); | 196 | return ide_pci_register_driver(&atiixp_pci_driver); |
197 | } | 197 | } |
198 | 198 | ||
199 | static void __exit atiixp_ide_exit(void) | 199 | static void __exit atiixp_ide_exit(void) |
200 | { | 200 | { |
201 | pci_unregister_driver(&driver); | 201 | pci_unregister_driver(&atiixp_pci_driver); |
202 | } | 202 | } |
203 | 203 | ||
204 | module_init(atiixp_ide_init); | 204 | module_init(atiixp_ide_init); |