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/tc86c001.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/tc86c001.c')
-rw-r--r-- | drivers/ide/pci/tc86c001.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/tc86c001.c b/drivers/ide/pci/tc86c001.c index 927277c54ec9..a683377d75f1 100644 --- a/drivers/ide/pci/tc86c001.c +++ b/drivers/ide/pci/tc86c001.c | |||
@@ -245,7 +245,7 @@ static const struct pci_device_id tc86c001_pci_tbl[] = { | |||
245 | }; | 245 | }; |
246 | MODULE_DEVICE_TABLE(pci, tc86c001_pci_tbl); | 246 | MODULE_DEVICE_TABLE(pci, tc86c001_pci_tbl); |
247 | 247 | ||
248 | static struct pci_driver driver = { | 248 | static struct pci_driver tc86c001_pci_driver = { |
249 | .name = "TC86C001", | 249 | .name = "TC86C001", |
250 | .id_table = tc86c001_pci_tbl, | 250 | .id_table = tc86c001_pci_tbl, |
251 | .probe = tc86c001_init_one, | 251 | .probe = tc86c001_init_one, |
@@ -254,12 +254,12 @@ static struct pci_driver driver = { | |||
254 | 254 | ||
255 | static int __init tc86c001_ide_init(void) | 255 | static int __init tc86c001_ide_init(void) |
256 | { | 256 | { |
257 | return ide_pci_register_driver(&driver); | 257 | return ide_pci_register_driver(&tc86c001_pci_driver); |
258 | } | 258 | } |
259 | 259 | ||
260 | static void __exit tc86c001_ide_exit(void) | 260 | static void __exit tc86c001_ide_exit(void) |
261 | { | 261 | { |
262 | pci_unregister_driver(&driver); | 262 | pci_unregister_driver(&tc86c001_pci_driver); |
263 | } | 263 | } |
264 | 264 | ||
265 | module_init(tc86c001_ide_init); | 265 | module_init(tc86c001_ide_init); |