diff options
Diffstat (limited to 'drivers/ide/pci')
33 files changed, 98 insertions, 98 deletions
diff --git a/drivers/ide/pci/aec62xx.c b/drivers/ide/pci/aec62xx.c index c294b19f5552..4142c698e0d3 100644 --- a/drivers/ide/pci/aec62xx.c +++ b/drivers/ide/pci/aec62xx.c | |||
@@ -302,7 +302,7 @@ static const struct pci_device_id aec62xx_pci_tbl[] = { | |||
302 | }; | 302 | }; |
303 | MODULE_DEVICE_TABLE(pci, aec62xx_pci_tbl); | 303 | MODULE_DEVICE_TABLE(pci, aec62xx_pci_tbl); |
304 | 304 | ||
305 | static struct pci_driver driver = { | 305 | static struct pci_driver aec62xx_pci_driver = { |
306 | .name = "AEC62xx_IDE", | 306 | .name = "AEC62xx_IDE", |
307 | .id_table = aec62xx_pci_tbl, | 307 | .id_table = aec62xx_pci_tbl, |
308 | .probe = aec62xx_init_one, | 308 | .probe = aec62xx_init_one, |
@@ -313,12 +313,12 @@ static struct pci_driver driver = { | |||
313 | 313 | ||
314 | static int __init aec62xx_ide_init(void) | 314 | static int __init aec62xx_ide_init(void) |
315 | { | 315 | { |
316 | return ide_pci_register_driver(&driver); | 316 | return ide_pci_register_driver(&aec62xx_pci_driver); |
317 | } | 317 | } |
318 | 318 | ||
319 | static void __exit aec62xx_ide_exit(void) | 319 | static void __exit aec62xx_ide_exit(void) |
320 | { | 320 | { |
321 | pci_unregister_driver(&driver); | 321 | pci_unregister_driver(&aec62xx_pci_driver); |
322 | } | 322 | } |
323 | 323 | ||
324 | module_init(aec62xx_ide_init); | 324 | module_init(aec62xx_ide_init); |
diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c index f1c57f72bbdb..9d017fc1895e 100644 --- a/drivers/ide/pci/alim15x3.c +++ b/drivers/ide/pci/alim15x3.c | |||
@@ -575,7 +575,7 @@ static const struct pci_device_id alim15x3_pci_tbl[] = { | |||
575 | }; | 575 | }; |
576 | MODULE_DEVICE_TABLE(pci, alim15x3_pci_tbl); | 576 | MODULE_DEVICE_TABLE(pci, alim15x3_pci_tbl); |
577 | 577 | ||
578 | static struct pci_driver driver = { | 578 | static struct pci_driver alim15x3_pci_driver = { |
579 | .name = "ALI15x3_IDE", | 579 | .name = "ALI15x3_IDE", |
580 | .id_table = alim15x3_pci_tbl, | 580 | .id_table = alim15x3_pci_tbl, |
581 | .probe = alim15x3_init_one, | 581 | .probe = alim15x3_init_one, |
@@ -586,12 +586,12 @@ static struct pci_driver driver = { | |||
586 | 586 | ||
587 | static int __init ali15x3_ide_init(void) | 587 | static int __init ali15x3_ide_init(void) |
588 | { | 588 | { |
589 | return ide_pci_register_driver(&driver); | 589 | return ide_pci_register_driver(&alim15x3_pci_driver); |
590 | } | 590 | } |
591 | 591 | ||
592 | static void __exit ali15x3_ide_exit(void) | 592 | static void __exit ali15x3_ide_exit(void) |
593 | { | 593 | { |
594 | return pci_unregister_driver(&driver); | 594 | return pci_unregister_driver(&alim15x3_pci_driver); |
595 | } | 595 | } |
596 | 596 | ||
597 | module_init(ali15x3_ide_init); | 597 | module_init(ali15x3_ide_init); |
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index 7dbc692c84c3..81ec73134eda 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -319,7 +319,7 @@ static const struct pci_device_id amd74xx_pci_tbl[] = { | |||
319 | }; | 319 | }; |
320 | MODULE_DEVICE_TABLE(pci, amd74xx_pci_tbl); | 320 | MODULE_DEVICE_TABLE(pci, amd74xx_pci_tbl); |
321 | 321 | ||
322 | static struct pci_driver driver = { | 322 | static struct pci_driver amd74xx_pci_driver = { |
323 | .name = "AMD_IDE", | 323 | .name = "AMD_IDE", |
324 | .id_table = amd74xx_pci_tbl, | 324 | .id_table = amd74xx_pci_tbl, |
325 | .probe = amd74xx_probe, | 325 | .probe = amd74xx_probe, |
@@ -330,12 +330,12 @@ static struct pci_driver driver = { | |||
330 | 330 | ||
331 | static int __init amd74xx_ide_init(void) | 331 | static int __init amd74xx_ide_init(void) |
332 | { | 332 | { |
333 | return ide_pci_register_driver(&driver); | 333 | return ide_pci_register_driver(&amd74xx_pci_driver); |
334 | } | 334 | } |
335 | 335 | ||
336 | static void __exit amd74xx_ide_exit(void) | 336 | static void __exit amd74xx_ide_exit(void) |
337 | { | 337 | { |
338 | pci_unregister_driver(&driver); | 338 | pci_unregister_driver(&amd74xx_pci_driver); |
339 | } | 339 | } |
340 | 340 | ||
341 | module_init(amd74xx_ide_init); | 341 | module_init(amd74xx_ide_init); |
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); |
diff --git a/drivers/ide/pci/cmd64x.c b/drivers/ide/pci/cmd64x.c index 456dee18b660..bb89c505074c 100644 --- a/drivers/ide/pci/cmd64x.c +++ b/drivers/ide/pci/cmd64x.c | |||
@@ -505,7 +505,7 @@ static const struct pci_device_id cmd64x_pci_tbl[] = { | |||
505 | }; | 505 | }; |
506 | MODULE_DEVICE_TABLE(pci, cmd64x_pci_tbl); | 506 | MODULE_DEVICE_TABLE(pci, cmd64x_pci_tbl); |
507 | 507 | ||
508 | static struct pci_driver driver = { | 508 | static struct pci_driver cmd64x_pci_driver = { |
509 | .name = "CMD64x_IDE", | 509 | .name = "CMD64x_IDE", |
510 | .id_table = cmd64x_pci_tbl, | 510 | .id_table = cmd64x_pci_tbl, |
511 | .probe = cmd64x_init_one, | 511 | .probe = cmd64x_init_one, |
@@ -516,12 +516,12 @@ static struct pci_driver driver = { | |||
516 | 516 | ||
517 | static int __init cmd64x_ide_init(void) | 517 | static int __init cmd64x_ide_init(void) |
518 | { | 518 | { |
519 | return ide_pci_register_driver(&driver); | 519 | return ide_pci_register_driver(&cmd64x_pci_driver); |
520 | } | 520 | } |
521 | 521 | ||
522 | static void __exit cmd64x_ide_exit(void) | 522 | static void __exit cmd64x_ide_exit(void) |
523 | { | 523 | { |
524 | pci_unregister_driver(&driver); | 524 | pci_unregister_driver(&cmd64x_pci_driver); |
525 | } | 525 | } |
526 | 526 | ||
527 | module_init(cmd64x_ide_init); | 527 | module_init(cmd64x_ide_init); |
diff --git a/drivers/ide/pci/cs5520.c b/drivers/ide/pci/cs5520.c index d6341f7c4144..5efb467f8fa0 100644 --- a/drivers/ide/pci/cs5520.c +++ b/drivers/ide/pci/cs5520.c | |||
@@ -145,7 +145,7 @@ static const struct pci_device_id cs5520_pci_tbl[] = { | |||
145 | }; | 145 | }; |
146 | MODULE_DEVICE_TABLE(pci, cs5520_pci_tbl); | 146 | MODULE_DEVICE_TABLE(pci, cs5520_pci_tbl); |
147 | 147 | ||
148 | static struct pci_driver driver = { | 148 | static struct pci_driver cs5520_pci_driver = { |
149 | .name = "Cyrix_IDE", | 149 | .name = "Cyrix_IDE", |
150 | .id_table = cs5520_pci_tbl, | 150 | .id_table = cs5520_pci_tbl, |
151 | .probe = cs5520_init_one, | 151 | .probe = cs5520_init_one, |
@@ -155,7 +155,7 @@ static struct pci_driver driver = { | |||
155 | 155 | ||
156 | static int __init cs5520_ide_init(void) | 156 | static int __init cs5520_ide_init(void) |
157 | { | 157 | { |
158 | return ide_pci_register_driver(&driver); | 158 | return ide_pci_register_driver(&cs5520_pci_driver); |
159 | } | 159 | } |
160 | 160 | ||
161 | module_init(cs5520_ide_init); | 161 | module_init(cs5520_ide_init); |
diff --git a/drivers/ide/pci/cs5530.c b/drivers/ide/pci/cs5530.c index da42fa7e9f97..53f079cc00af 100644 --- a/drivers/ide/pci/cs5530.c +++ b/drivers/ide/pci/cs5530.c | |||
@@ -267,7 +267,7 @@ static const struct pci_device_id cs5530_pci_tbl[] = { | |||
267 | }; | 267 | }; |
268 | MODULE_DEVICE_TABLE(pci, cs5530_pci_tbl); | 268 | MODULE_DEVICE_TABLE(pci, cs5530_pci_tbl); |
269 | 269 | ||
270 | static struct pci_driver driver = { | 270 | static struct pci_driver cs5530_pci_driver = { |
271 | .name = "CS5530 IDE", | 271 | .name = "CS5530 IDE", |
272 | .id_table = cs5530_pci_tbl, | 272 | .id_table = cs5530_pci_tbl, |
273 | .probe = cs5530_init_one, | 273 | .probe = cs5530_init_one, |
@@ -278,12 +278,12 @@ static struct pci_driver driver = { | |||
278 | 278 | ||
279 | static int __init cs5530_ide_init(void) | 279 | static int __init cs5530_ide_init(void) |
280 | { | 280 | { |
281 | return ide_pci_register_driver(&driver); | 281 | return ide_pci_register_driver(&cs5530_pci_driver); |
282 | } | 282 | } |
283 | 283 | ||
284 | static void __exit cs5530_ide_exit(void) | 284 | static void __exit cs5530_ide_exit(void) |
285 | { | 285 | { |
286 | pci_unregister_driver(&driver); | 286 | pci_unregister_driver(&cs5530_pci_driver); |
287 | } | 287 | } |
288 | 288 | ||
289 | module_init(cs5530_ide_init); | 289 | module_init(cs5530_ide_init); |
diff --git a/drivers/ide/pci/cs5535.c b/drivers/ide/pci/cs5535.c index fa6dca9f3287..983d957a0189 100644 --- a/drivers/ide/pci/cs5535.c +++ b/drivers/ide/pci/cs5535.c | |||
@@ -192,7 +192,7 @@ static const struct pci_device_id cs5535_pci_tbl[] = { | |||
192 | 192 | ||
193 | MODULE_DEVICE_TABLE(pci, cs5535_pci_tbl); | 193 | MODULE_DEVICE_TABLE(pci, cs5535_pci_tbl); |
194 | 194 | ||
195 | static struct pci_driver driver = { | 195 | static struct pci_driver cs5535_pci_driver = { |
196 | .name = "CS5535_IDE", | 196 | .name = "CS5535_IDE", |
197 | .id_table = cs5535_pci_tbl, | 197 | .id_table = cs5535_pci_tbl, |
198 | .probe = cs5535_init_one, | 198 | .probe = cs5535_init_one, |
@@ -203,12 +203,12 @@ static struct pci_driver driver = { | |||
203 | 203 | ||
204 | static int __init cs5535_ide_init(void) | 204 | static int __init cs5535_ide_init(void) |
205 | { | 205 | { |
206 | return ide_pci_register_driver(&driver); | 206 | return ide_pci_register_driver(&cs5535_pci_driver); |
207 | } | 207 | } |
208 | 208 | ||
209 | static void __exit cs5535_ide_exit(void) | 209 | static void __exit cs5535_ide_exit(void) |
210 | { | 210 | { |
211 | pci_unregister_driver(&driver); | 211 | pci_unregister_driver(&cs5535_pci_driver); |
212 | } | 212 | } |
213 | 213 | ||
214 | module_init(cs5535_ide_init); | 214 | module_init(cs5535_ide_init); |
diff --git a/drivers/ide/pci/cy82c693.c b/drivers/ide/pci/cy82c693.c index e5f8fc0ed318..5297f07d2933 100644 --- a/drivers/ide/pci/cy82c693.c +++ b/drivers/ide/pci/cy82c693.c | |||
@@ -331,7 +331,7 @@ static const struct pci_device_id cy82c693_pci_tbl[] = { | |||
331 | }; | 331 | }; |
332 | MODULE_DEVICE_TABLE(pci, cy82c693_pci_tbl); | 332 | MODULE_DEVICE_TABLE(pci, cy82c693_pci_tbl); |
333 | 333 | ||
334 | static struct pci_driver driver = { | 334 | static struct pci_driver cy82c693_pci_driver = { |
335 | .name = "Cypress_IDE", | 335 | .name = "Cypress_IDE", |
336 | .id_table = cy82c693_pci_tbl, | 336 | .id_table = cy82c693_pci_tbl, |
337 | .probe = cy82c693_init_one, | 337 | .probe = cy82c693_init_one, |
@@ -342,12 +342,12 @@ static struct pci_driver driver = { | |||
342 | 342 | ||
343 | static int __init cy82c693_ide_init(void) | 343 | static int __init cy82c693_ide_init(void) |
344 | { | 344 | { |
345 | return ide_pci_register_driver(&driver); | 345 | return ide_pci_register_driver(&cy82c693_pci_driver); |
346 | } | 346 | } |
347 | 347 | ||
348 | static void __exit cy82c693_ide_exit(void) | 348 | static void __exit cy82c693_ide_exit(void) |
349 | { | 349 | { |
350 | pci_unregister_driver(&driver); | 350 | pci_unregister_driver(&cy82c693_pci_driver); |
351 | } | 351 | } |
352 | 352 | ||
353 | module_init(cy82c693_ide_init); | 353 | module_init(cy82c693_ide_init); |
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c index 83b63b365e51..8689a706f537 100644 --- a/drivers/ide/pci/delkin_cb.c +++ b/drivers/ide/pci/delkin_cb.c | |||
@@ -117,7 +117,7 @@ static struct pci_device_id delkin_cb_pci_tbl[] __devinitdata = { | |||
117 | }; | 117 | }; |
118 | MODULE_DEVICE_TABLE(pci, delkin_cb_pci_tbl); | 118 | MODULE_DEVICE_TABLE(pci, delkin_cb_pci_tbl); |
119 | 119 | ||
120 | static struct pci_driver driver = { | 120 | static struct pci_driver delkin_cb_pci_driver = { |
121 | .name = "Delkin-ASKA-Workbit Cardbus IDE", | 121 | .name = "Delkin-ASKA-Workbit Cardbus IDE", |
122 | .id_table = delkin_cb_pci_tbl, | 122 | .id_table = delkin_cb_pci_tbl, |
123 | .probe = delkin_cb_probe, | 123 | .probe = delkin_cb_probe, |
@@ -126,12 +126,12 @@ static struct pci_driver driver = { | |||
126 | 126 | ||
127 | static int __init delkin_cb_init(void) | 127 | static int __init delkin_cb_init(void) |
128 | { | 128 | { |
129 | return pci_register_driver(&driver); | 129 | return pci_register_driver(&delkin_cb_pci_driver); |
130 | } | 130 | } |
131 | 131 | ||
132 | static void __exit delkin_cb_exit(void) | 132 | static void __exit delkin_cb_exit(void) |
133 | { | 133 | { |
134 | pci_unregister_driver(&driver); | 134 | pci_unregister_driver(&delkin_cb_pci_driver); |
135 | } | 135 | } |
136 | 136 | ||
137 | module_init(delkin_cb_init); | 137 | module_init(delkin_cb_init); |
diff --git a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c index 092b238cb250..474f96a7c076 100644 --- a/drivers/ide/pci/generic.c +++ b/drivers/ide/pci/generic.c | |||
@@ -166,7 +166,7 @@ static const struct pci_device_id generic_pci_tbl[] = { | |||
166 | }; | 166 | }; |
167 | MODULE_DEVICE_TABLE(pci, generic_pci_tbl); | 167 | MODULE_DEVICE_TABLE(pci, generic_pci_tbl); |
168 | 168 | ||
169 | static struct pci_driver driver = { | 169 | static struct pci_driver generic_pci_driver = { |
170 | .name = "PCI_IDE", | 170 | .name = "PCI_IDE", |
171 | .id_table = generic_pci_tbl, | 171 | .id_table = generic_pci_tbl, |
172 | .probe = generic_init_one, | 172 | .probe = generic_init_one, |
@@ -177,12 +177,12 @@ static struct pci_driver driver = { | |||
177 | 177 | ||
178 | static int __init generic_ide_init(void) | 178 | static int __init generic_ide_init(void) |
179 | { | 179 | { |
180 | return ide_pci_register_driver(&driver); | 180 | return ide_pci_register_driver(&generic_pci_driver); |
181 | } | 181 | } |
182 | 182 | ||
183 | static void __exit generic_ide_exit(void) | 183 | static void __exit generic_ide_exit(void) |
184 | { | 184 | { |
185 | pci_unregister_driver(&driver); | 185 | pci_unregister_driver(&generic_pci_driver); |
186 | } | 186 | } |
187 | 187 | ||
188 | module_init(generic_ide_init); | 188 | module_init(generic_ide_init); |
diff --git a/drivers/ide/pci/hpt34x.c b/drivers/ide/pci/hpt34x.c index 644de29f8fe4..fb1a3aa57f07 100644 --- a/drivers/ide/pci/hpt34x.c +++ b/drivers/ide/pci/hpt34x.c | |||
@@ -166,7 +166,7 @@ static const struct pci_device_id hpt34x_pci_tbl[] = { | |||
166 | }; | 166 | }; |
167 | MODULE_DEVICE_TABLE(pci, hpt34x_pci_tbl); | 167 | MODULE_DEVICE_TABLE(pci, hpt34x_pci_tbl); |
168 | 168 | ||
169 | static struct pci_driver driver = { | 169 | static struct pci_driver hpt34x_pci_driver = { |
170 | .name = "HPT34x_IDE", | 170 | .name = "HPT34x_IDE", |
171 | .id_table = hpt34x_pci_tbl, | 171 | .id_table = hpt34x_pci_tbl, |
172 | .probe = hpt34x_init_one, | 172 | .probe = hpt34x_init_one, |
@@ -177,12 +177,12 @@ static struct pci_driver driver = { | |||
177 | 177 | ||
178 | static int __init hpt34x_ide_init(void) | 178 | static int __init hpt34x_ide_init(void) |
179 | { | 179 | { |
180 | return ide_pci_register_driver(&driver); | 180 | return ide_pci_register_driver(&hpt34x_pci_driver); |
181 | } | 181 | } |
182 | 182 | ||
183 | static void __exit hpt34x_ide_exit(void) | 183 | static void __exit hpt34x_ide_exit(void) |
184 | { | 184 | { |
185 | pci_unregister_driver(&driver); | 185 | pci_unregister_driver(&hpt34x_pci_driver); |
186 | } | 186 | } |
187 | 187 | ||
188 | module_init(hpt34x_ide_init); | 188 | module_init(hpt34x_ide_init); |
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c index 5d47916dab99..91f51e7b376f 100644 --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c | |||
@@ -1619,7 +1619,7 @@ static const struct pci_device_id hpt366_pci_tbl[] __devinitconst = { | |||
1619 | }; | 1619 | }; |
1620 | MODULE_DEVICE_TABLE(pci, hpt366_pci_tbl); | 1620 | MODULE_DEVICE_TABLE(pci, hpt366_pci_tbl); |
1621 | 1621 | ||
1622 | static struct pci_driver driver = { | 1622 | static struct pci_driver hpt366_pci_driver = { |
1623 | .name = "HPT366_IDE", | 1623 | .name = "HPT366_IDE", |
1624 | .id_table = hpt366_pci_tbl, | 1624 | .id_table = hpt366_pci_tbl, |
1625 | .probe = hpt366_init_one, | 1625 | .probe = hpt366_init_one, |
@@ -1630,12 +1630,12 @@ static struct pci_driver driver = { | |||
1630 | 1630 | ||
1631 | static int __init hpt366_ide_init(void) | 1631 | static int __init hpt366_ide_init(void) |
1632 | { | 1632 | { |
1633 | return ide_pci_register_driver(&driver); | 1633 | return ide_pci_register_driver(&hpt366_pci_driver); |
1634 | } | 1634 | } |
1635 | 1635 | ||
1636 | static void __exit hpt366_ide_exit(void) | 1636 | static void __exit hpt366_ide_exit(void) |
1637 | { | 1637 | { |
1638 | pci_unregister_driver(&driver); | 1638 | pci_unregister_driver(&hpt366_pci_driver); |
1639 | } | 1639 | } |
1640 | 1640 | ||
1641 | module_init(hpt366_ide_init); | 1641 | module_init(hpt366_ide_init); |
diff --git a/drivers/ide/pci/it8213.c b/drivers/ide/pci/it8213.c index 0954ccd08d6f..7c2feeb3c5ec 100644 --- a/drivers/ide/pci/it8213.c +++ b/drivers/ide/pci/it8213.c | |||
@@ -189,7 +189,7 @@ static const struct pci_device_id it8213_pci_tbl[] = { | |||
189 | 189 | ||
190 | MODULE_DEVICE_TABLE(pci, it8213_pci_tbl); | 190 | MODULE_DEVICE_TABLE(pci, it8213_pci_tbl); |
191 | 191 | ||
192 | static struct pci_driver driver = { | 192 | static struct pci_driver it8213_pci_driver = { |
193 | .name = "ITE8213_IDE", | 193 | .name = "ITE8213_IDE", |
194 | .id_table = it8213_pci_tbl, | 194 | .id_table = it8213_pci_tbl, |
195 | .probe = it8213_init_one, | 195 | .probe = it8213_init_one, |
@@ -200,12 +200,12 @@ static struct pci_driver driver = { | |||
200 | 200 | ||
201 | static int __init it8213_ide_init(void) | 201 | static int __init it8213_ide_init(void) |
202 | { | 202 | { |
203 | return ide_pci_register_driver(&driver); | 203 | return ide_pci_register_driver(&it8213_pci_driver); |
204 | } | 204 | } |
205 | 205 | ||
206 | static void __exit it8213_ide_exit(void) | 206 | static void __exit it8213_ide_exit(void) |
207 | { | 207 | { |
208 | pci_unregister_driver(&driver); | 208 | pci_unregister_driver(&it8213_pci_driver); |
209 | } | 209 | } |
210 | 210 | ||
211 | module_init(it8213_ide_init); | 211 | module_init(it8213_ide_init); |
diff --git a/drivers/ide/pci/it821x.c b/drivers/ide/pci/it821x.c index 1aada445a9c8..ae7e7420f198 100644 --- a/drivers/ide/pci/it821x.c +++ b/drivers/ide/pci/it821x.c | |||
@@ -676,7 +676,7 @@ static const struct pci_device_id it821x_pci_tbl[] = { | |||
676 | 676 | ||
677 | MODULE_DEVICE_TABLE(pci, it821x_pci_tbl); | 677 | MODULE_DEVICE_TABLE(pci, it821x_pci_tbl); |
678 | 678 | ||
679 | static struct pci_driver driver = { | 679 | static struct pci_driver it821x_pci_driver = { |
680 | .name = "ITE821x IDE", | 680 | .name = "ITE821x IDE", |
681 | .id_table = it821x_pci_tbl, | 681 | .id_table = it821x_pci_tbl, |
682 | .probe = it821x_init_one, | 682 | .probe = it821x_init_one, |
@@ -687,12 +687,12 @@ static struct pci_driver driver = { | |||
687 | 687 | ||
688 | static int __init it821x_ide_init(void) | 688 | static int __init it821x_ide_init(void) |
689 | { | 689 | { |
690 | return ide_pci_register_driver(&driver); | 690 | return ide_pci_register_driver(&it821x_pci_driver); |
691 | } | 691 | } |
692 | 692 | ||
693 | static void __exit it821x_ide_exit(void) | 693 | static void __exit it821x_ide_exit(void) |
694 | { | 694 | { |
695 | pci_unregister_driver(&driver); | 695 | pci_unregister_driver(&it821x_pci_driver); |
696 | } | 696 | } |
697 | 697 | ||
698 | module_init(it821x_ide_init); | 698 | module_init(it821x_ide_init); |
diff --git a/drivers/ide/pci/jmicron.c b/drivers/ide/pci/jmicron.c index acd647110648..9a68433cf46d 100644 --- a/drivers/ide/pci/jmicron.c +++ b/drivers/ide/pci/jmicron.c | |||
@@ -149,7 +149,7 @@ static struct pci_device_id jmicron_pci_tbl[] = { | |||
149 | 149 | ||
150 | MODULE_DEVICE_TABLE(pci, jmicron_pci_tbl); | 150 | MODULE_DEVICE_TABLE(pci, jmicron_pci_tbl); |
151 | 151 | ||
152 | static struct pci_driver driver = { | 152 | static struct pci_driver jmicron_pci_driver = { |
153 | .name = "JMicron IDE", | 153 | .name = "JMicron IDE", |
154 | .id_table = jmicron_pci_tbl, | 154 | .id_table = jmicron_pci_tbl, |
155 | .probe = jmicron_init_one, | 155 | .probe = jmicron_init_one, |
@@ -160,12 +160,12 @@ static struct pci_driver driver = { | |||
160 | 160 | ||
161 | static int __init jmicron_ide_init(void) | 161 | static int __init jmicron_ide_init(void) |
162 | { | 162 | { |
163 | return ide_pci_register_driver(&driver); | 163 | return ide_pci_register_driver(&jmicron_pci_driver); |
164 | } | 164 | } |
165 | 165 | ||
166 | static void __exit jmicron_ide_exit(void) | 166 | static void __exit jmicron_ide_exit(void) |
167 | { | 167 | { |
168 | pci_unregister_driver(&driver); | 168 | pci_unregister_driver(&jmicron_pci_driver); |
169 | } | 169 | } |
170 | 170 | ||
171 | module_init(jmicron_ide_init); | 171 | module_init(jmicron_ide_init); |
diff --git a/drivers/ide/pci/ns87415.c b/drivers/ide/pci/ns87415.c index 61a143661ee0..13789060f407 100644 --- a/drivers/ide/pci/ns87415.c +++ b/drivers/ide/pci/ns87415.c | |||
@@ -339,7 +339,7 @@ static const struct pci_device_id ns87415_pci_tbl[] = { | |||
339 | }; | 339 | }; |
340 | MODULE_DEVICE_TABLE(pci, ns87415_pci_tbl); | 340 | MODULE_DEVICE_TABLE(pci, ns87415_pci_tbl); |
341 | 341 | ||
342 | static struct pci_driver driver = { | 342 | static struct pci_driver ns87415_pci_driver = { |
343 | .name = "NS87415_IDE", | 343 | .name = "NS87415_IDE", |
344 | .id_table = ns87415_pci_tbl, | 344 | .id_table = ns87415_pci_tbl, |
345 | .probe = ns87415_init_one, | 345 | .probe = ns87415_init_one, |
@@ -350,12 +350,12 @@ static struct pci_driver driver = { | |||
350 | 350 | ||
351 | static int __init ns87415_ide_init(void) | 351 | static int __init ns87415_ide_init(void) |
352 | { | 352 | { |
353 | return ide_pci_register_driver(&driver); | 353 | return ide_pci_register_driver(&ns87415_pci_driver); |
354 | } | 354 | } |
355 | 355 | ||
356 | static void __exit ns87415_ide_exit(void) | 356 | static void __exit ns87415_ide_exit(void) |
357 | { | 357 | { |
358 | pci_unregister_driver(&driver); | 358 | pci_unregister_driver(&ns87415_pci_driver); |
359 | } | 359 | } |
360 | 360 | ||
361 | module_init(ns87415_ide_init); | 361 | module_init(ns87415_ide_init); |
diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c index f0db38bd70e3..6048eda3cd61 100644 --- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c | |||
@@ -220,7 +220,7 @@ static const struct pci_device_id opti621_pci_tbl[] = { | |||
220 | }; | 220 | }; |
221 | MODULE_DEVICE_TABLE(pci, opti621_pci_tbl); | 221 | MODULE_DEVICE_TABLE(pci, opti621_pci_tbl); |
222 | 222 | ||
223 | static struct pci_driver driver = { | 223 | static struct pci_driver opti621_pci_driver = { |
224 | .name = "Opti621_IDE", | 224 | .name = "Opti621_IDE", |
225 | .id_table = opti621_pci_tbl, | 225 | .id_table = opti621_pci_tbl, |
226 | .probe = opti621_init_one, | 226 | .probe = opti621_init_one, |
@@ -231,12 +231,12 @@ static struct pci_driver driver = { | |||
231 | 231 | ||
232 | static int __init opti621_ide_init(void) | 232 | static int __init opti621_ide_init(void) |
233 | { | 233 | { |
234 | return ide_pci_register_driver(&driver); | 234 | return ide_pci_register_driver(&opti621_pci_driver); |
235 | } | 235 | } |
236 | 236 | ||
237 | static void __exit opti621_ide_exit(void) | 237 | static void __exit opti621_ide_exit(void) |
238 | { | 238 | { |
239 | pci_unregister_driver(&driver); | 239 | pci_unregister_driver(&opti621_pci_driver); |
240 | } | 240 | } |
241 | 241 | ||
242 | module_init(opti621_ide_init); | 242 | module_init(opti621_ide_init); |
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c index 9fc59962553b..211ae46e3e0c 100644 --- a/drivers/ide/pci/pdc202xx_new.c +++ b/drivers/ide/pci/pdc202xx_new.c | |||
@@ -561,7 +561,7 @@ static const struct pci_device_id pdc202new_pci_tbl[] = { | |||
561 | }; | 561 | }; |
562 | MODULE_DEVICE_TABLE(pci, pdc202new_pci_tbl); | 562 | MODULE_DEVICE_TABLE(pci, pdc202new_pci_tbl); |
563 | 563 | ||
564 | static struct pci_driver driver = { | 564 | static struct pci_driver pdc202new_pci_driver = { |
565 | .name = "Promise_IDE", | 565 | .name = "Promise_IDE", |
566 | .id_table = pdc202new_pci_tbl, | 566 | .id_table = pdc202new_pci_tbl, |
567 | .probe = pdc202new_init_one, | 567 | .probe = pdc202new_init_one, |
@@ -572,12 +572,12 @@ static struct pci_driver driver = { | |||
572 | 572 | ||
573 | static int __init pdc202new_ide_init(void) | 573 | static int __init pdc202new_ide_init(void) |
574 | { | 574 | { |
575 | return ide_pci_register_driver(&driver); | 575 | return ide_pci_register_driver(&pdc202new_pci_driver); |
576 | } | 576 | } |
577 | 577 | ||
578 | static void __exit pdc202new_ide_exit(void) | 578 | static void __exit pdc202new_ide_exit(void) |
579 | { | 579 | { |
580 | pci_unregister_driver(&driver); | 580 | pci_unregister_driver(&pdc202new_pci_driver); |
581 | } | 581 | } |
582 | 582 | ||
583 | module_init(pdc202new_ide_init); | 583 | module_init(pdc202new_ide_init); |
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); |
diff --git a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c index a06c03f8e295..a909684ee61b 100644 --- a/drivers/ide/pci/piix.c +++ b/drivers/ide/pci/piix.c | |||
@@ -444,7 +444,7 @@ static const struct pci_device_id piix_pci_tbl[] = { | |||
444 | }; | 444 | }; |
445 | MODULE_DEVICE_TABLE(pci, piix_pci_tbl); | 445 | MODULE_DEVICE_TABLE(pci, piix_pci_tbl); |
446 | 446 | ||
447 | static struct pci_driver driver = { | 447 | static struct pci_driver piix_pci_driver = { |
448 | .name = "PIIX_IDE", | 448 | .name = "PIIX_IDE", |
449 | .id_table = piix_pci_tbl, | 449 | .id_table = piix_pci_tbl, |
450 | .probe = piix_init_one, | 450 | .probe = piix_init_one, |
@@ -456,12 +456,12 @@ static struct pci_driver driver = { | |||
456 | static int __init piix_ide_init(void) | 456 | static int __init piix_ide_init(void) |
457 | { | 457 | { |
458 | piix_check_450nx(); | 458 | piix_check_450nx(); |
459 | return ide_pci_register_driver(&driver); | 459 | return ide_pci_register_driver(&piix_pci_driver); |
460 | } | 460 | } |
461 | 461 | ||
462 | static void __exit piix_ide_exit(void) | 462 | static void __exit piix_ide_exit(void) |
463 | { | 463 | { |
464 | pci_unregister_driver(&driver); | 464 | pci_unregister_driver(&piix_pci_driver); |
465 | } | 465 | } |
466 | 466 | ||
467 | module_init(piix_ide_init); | 467 | module_init(piix_ide_init); |
diff --git a/drivers/ide/pci/rz1000.c b/drivers/ide/pci/rz1000.c index c117a068761b..7daf0135cbac 100644 --- a/drivers/ide/pci/rz1000.c +++ b/drivers/ide/pci/rz1000.c | |||
@@ -59,7 +59,7 @@ static const struct pci_device_id rz1000_pci_tbl[] = { | |||
59 | }; | 59 | }; |
60 | MODULE_DEVICE_TABLE(pci, rz1000_pci_tbl); | 60 | MODULE_DEVICE_TABLE(pci, rz1000_pci_tbl); |
61 | 61 | ||
62 | static struct pci_driver driver = { | 62 | static struct pci_driver rz1000_pci_driver = { |
63 | .name = "RZ1000_IDE", | 63 | .name = "RZ1000_IDE", |
64 | .id_table = rz1000_pci_tbl, | 64 | .id_table = rz1000_pci_tbl, |
65 | .probe = rz1000_init_one, | 65 | .probe = rz1000_init_one, |
@@ -68,12 +68,12 @@ static struct pci_driver driver = { | |||
68 | 68 | ||
69 | static int __init rz1000_ide_init(void) | 69 | static int __init rz1000_ide_init(void) |
70 | { | 70 | { |
71 | return ide_pci_register_driver(&driver); | 71 | return ide_pci_register_driver(&rz1000_pci_driver); |
72 | } | 72 | } |
73 | 73 | ||
74 | static void __exit rz1000_ide_exit(void) | 74 | static void __exit rz1000_ide_exit(void) |
75 | { | 75 | { |
76 | pci_unregister_driver(&driver); | 76 | pci_unregister_driver(&rz1000_pci_driver); |
77 | } | 77 | } |
78 | 78 | ||
79 | module_init(rz1000_ide_init); | 79 | module_init(rz1000_ide_init); |
diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c index 79eeeadad655..f1a8758e3a99 100644 --- a/drivers/ide/pci/sc1200.c +++ b/drivers/ide/pci/sc1200.c | |||
@@ -328,7 +328,7 @@ static const struct pci_device_id sc1200_pci_tbl[] = { | |||
328 | }; | 328 | }; |
329 | MODULE_DEVICE_TABLE(pci, sc1200_pci_tbl); | 329 | MODULE_DEVICE_TABLE(pci, sc1200_pci_tbl); |
330 | 330 | ||
331 | static struct pci_driver driver = { | 331 | static struct pci_driver sc1200_pci_driver = { |
332 | .name = "SC1200_IDE", | 332 | .name = "SC1200_IDE", |
333 | .id_table = sc1200_pci_tbl, | 333 | .id_table = sc1200_pci_tbl, |
334 | .probe = sc1200_init_one, | 334 | .probe = sc1200_init_one, |
@@ -341,12 +341,12 @@ static struct pci_driver driver = { | |||
341 | 341 | ||
342 | static int __init sc1200_ide_init(void) | 342 | static int __init sc1200_ide_init(void) |
343 | { | 343 | { |
344 | return ide_pci_register_driver(&driver); | 344 | return ide_pci_register_driver(&sc1200_pci_driver); |
345 | } | 345 | } |
346 | 346 | ||
347 | static void __exit sc1200_ide_exit(void) | 347 | static void __exit sc1200_ide_exit(void) |
348 | { | 348 | { |
349 | pci_unregister_driver(&driver); | 349 | pci_unregister_driver(&sc1200_pci_driver); |
350 | } | 350 | } |
351 | 351 | ||
352 | module_init(sc1200_ide_init); | 352 | module_init(sc1200_ide_init); |
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c index c2e85fc21b5a..3e75bf5f5e37 100644 --- a/drivers/ide/pci/scc_pata.c +++ b/drivers/ide/pci/scc_pata.c | |||
@@ -944,7 +944,7 @@ static const struct pci_device_id scc_pci_tbl[] = { | |||
944 | }; | 944 | }; |
945 | MODULE_DEVICE_TABLE(pci, scc_pci_tbl); | 945 | MODULE_DEVICE_TABLE(pci, scc_pci_tbl); |
946 | 946 | ||
947 | static struct pci_driver driver = { | 947 | static struct pci_driver scc_pci_driver = { |
948 | .name = "SCC IDE", | 948 | .name = "SCC IDE", |
949 | .id_table = scc_pci_tbl, | 949 | .id_table = scc_pci_tbl, |
950 | .probe = scc_init_one, | 950 | .probe = scc_init_one, |
@@ -953,14 +953,14 @@ static struct pci_driver driver = { | |||
953 | 953 | ||
954 | static int scc_ide_init(void) | 954 | static int scc_ide_init(void) |
955 | { | 955 | { |
956 | return ide_pci_register_driver(&driver); | 956 | return ide_pci_register_driver(&scc_pci_driver); |
957 | } | 957 | } |
958 | 958 | ||
959 | module_init(scc_ide_init); | 959 | module_init(scc_ide_init); |
960 | /* -- No exit code? | 960 | /* -- No exit code? |
961 | static void scc_ide_exit(void) | 961 | static void scc_ide_exit(void) |
962 | { | 962 | { |
963 | ide_pci_unregister_driver(&driver); | 963 | ide_pci_unregister_driver(&scc_pci_driver); |
964 | } | 964 | } |
965 | module_exit(scc_ide_exit); | 965 | module_exit(scc_ide_exit); |
966 | */ | 966 | */ |
diff --git a/drivers/ide/pci/serverworks.c b/drivers/ide/pci/serverworks.c index 7fac80192f3b..437bc919dafd 100644 --- a/drivers/ide/pci/serverworks.c +++ b/drivers/ide/pci/serverworks.c | |||
@@ -443,7 +443,7 @@ static const struct pci_device_id svwks_pci_tbl[] = { | |||
443 | }; | 443 | }; |
444 | MODULE_DEVICE_TABLE(pci, svwks_pci_tbl); | 444 | MODULE_DEVICE_TABLE(pci, svwks_pci_tbl); |
445 | 445 | ||
446 | static struct pci_driver driver = { | 446 | static struct pci_driver svwks_pci_driver = { |
447 | .name = "Serverworks_IDE", | 447 | .name = "Serverworks_IDE", |
448 | .id_table = svwks_pci_tbl, | 448 | .id_table = svwks_pci_tbl, |
449 | .probe = svwks_init_one, | 449 | .probe = svwks_init_one, |
@@ -454,12 +454,12 @@ static struct pci_driver driver = { | |||
454 | 454 | ||
455 | static int __init svwks_ide_init(void) | 455 | static int __init svwks_ide_init(void) |
456 | { | 456 | { |
457 | return ide_pci_register_driver(&driver); | 457 | return ide_pci_register_driver(&svwks_pci_driver); |
458 | } | 458 | } |
459 | 459 | ||
460 | static void __exit svwks_ide_exit(void) | 460 | static void __exit svwks_ide_exit(void) |
461 | { | 461 | { |
462 | pci_unregister_driver(&driver); | 462 | pci_unregister_driver(&svwks_pci_driver); |
463 | } | 463 | } |
464 | 464 | ||
465 | module_init(svwks_ide_init); | 465 | module_init(svwks_ide_init); |
diff --git a/drivers/ide/pci/siimage.c b/drivers/ide/pci/siimage.c index 134868c71c34..0652e31119ef 100644 --- a/drivers/ide/pci/siimage.c +++ b/drivers/ide/pci/siimage.c | |||
@@ -830,7 +830,7 @@ static const struct pci_device_id siimage_pci_tbl[] = { | |||
830 | }; | 830 | }; |
831 | MODULE_DEVICE_TABLE(pci, siimage_pci_tbl); | 831 | MODULE_DEVICE_TABLE(pci, siimage_pci_tbl); |
832 | 832 | ||
833 | static struct pci_driver driver = { | 833 | static struct pci_driver siimage_pci_driver = { |
834 | .name = "SiI_IDE", | 834 | .name = "SiI_IDE", |
835 | .id_table = siimage_pci_tbl, | 835 | .id_table = siimage_pci_tbl, |
836 | .probe = siimage_init_one, | 836 | .probe = siimage_init_one, |
@@ -841,12 +841,12 @@ static struct pci_driver driver = { | |||
841 | 841 | ||
842 | static int __init siimage_ide_init(void) | 842 | static int __init siimage_ide_init(void) |
843 | { | 843 | { |
844 | return ide_pci_register_driver(&driver); | 844 | return ide_pci_register_driver(&siimage_pci_driver); |
845 | } | 845 | } |
846 | 846 | ||
847 | static void __exit siimage_ide_exit(void) | 847 | static void __exit siimage_ide_exit(void) |
848 | { | 848 | { |
849 | pci_unregister_driver(&driver); | 849 | pci_unregister_driver(&siimage_pci_driver); |
850 | } | 850 | } |
851 | 851 | ||
852 | module_init(siimage_ide_init); | 852 | module_init(siimage_ide_init); |
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); |
diff --git a/drivers/ide/pci/sl82c105.c b/drivers/ide/pci/sl82c105.c index 37a6b7bdc040..4399e76aa081 100644 --- a/drivers/ide/pci/sl82c105.c +++ b/drivers/ide/pci/sl82c105.c | |||
@@ -345,7 +345,7 @@ static const struct pci_device_id sl82c105_pci_tbl[] = { | |||
345 | }; | 345 | }; |
346 | MODULE_DEVICE_TABLE(pci, sl82c105_pci_tbl); | 346 | MODULE_DEVICE_TABLE(pci, sl82c105_pci_tbl); |
347 | 347 | ||
348 | static struct pci_driver driver = { | 348 | static struct pci_driver sl82c105_pci_driver = { |
349 | .name = "W82C105_IDE", | 349 | .name = "W82C105_IDE", |
350 | .id_table = sl82c105_pci_tbl, | 350 | .id_table = sl82c105_pci_tbl, |
351 | .probe = sl82c105_init_one, | 351 | .probe = sl82c105_init_one, |
@@ -356,12 +356,12 @@ static struct pci_driver driver = { | |||
356 | 356 | ||
357 | static int __init sl82c105_ide_init(void) | 357 | static int __init sl82c105_ide_init(void) |
358 | { | 358 | { |
359 | return ide_pci_register_driver(&driver); | 359 | return ide_pci_register_driver(&sl82c105_pci_driver); |
360 | } | 360 | } |
361 | 361 | ||
362 | static void __exit sl82c105_ide_exit(void) | 362 | static void __exit sl82c105_ide_exit(void) |
363 | { | 363 | { |
364 | pci_unregister_driver(&driver); | 364 | pci_unregister_driver(&sl82c105_pci_driver); |
365 | } | 365 | } |
366 | 366 | ||
367 | module_init(sl82c105_ide_init); | 367 | module_init(sl82c105_ide_init); |
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); |
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); |
diff --git a/drivers/ide/pci/triflex.c b/drivers/ide/pci/triflex.c index 42fb98f268d5..b6ff40336aa9 100644 --- a/drivers/ide/pci/triflex.c +++ b/drivers/ide/pci/triflex.c | |||
@@ -113,7 +113,7 @@ static const struct pci_device_id triflex_pci_tbl[] = { | |||
113 | }; | 113 | }; |
114 | MODULE_DEVICE_TABLE(pci, triflex_pci_tbl); | 114 | MODULE_DEVICE_TABLE(pci, triflex_pci_tbl); |
115 | 115 | ||
116 | static struct pci_driver driver = { | 116 | static struct pci_driver triflex_pci_driver = { |
117 | .name = "TRIFLEX_IDE", | 117 | .name = "TRIFLEX_IDE", |
118 | .id_table = triflex_pci_tbl, | 118 | .id_table = triflex_pci_tbl, |
119 | .probe = triflex_init_one, | 119 | .probe = triflex_init_one, |
@@ -124,12 +124,12 @@ static struct pci_driver driver = { | |||
124 | 124 | ||
125 | static int __init triflex_ide_init(void) | 125 | static int __init triflex_ide_init(void) |
126 | { | 126 | { |
127 | return ide_pci_register_driver(&driver); | 127 | return ide_pci_register_driver(&triflex_pci_driver); |
128 | } | 128 | } |
129 | 129 | ||
130 | static void __exit triflex_ide_exit(void) | 130 | static void __exit triflex_ide_exit(void) |
131 | { | 131 | { |
132 | pci_unregister_driver(&driver); | 132 | pci_unregister_driver(&triflex_pci_driver); |
133 | } | 133 | } |
134 | 134 | ||
135 | module_init(triflex_ide_init); | 135 | module_init(triflex_ide_init); |
diff --git a/drivers/ide/pci/trm290.c b/drivers/ide/pci/trm290.c index c12ffbb28748..75ea61526566 100644 --- a/drivers/ide/pci/trm290.c +++ b/drivers/ide/pci/trm290.c | |||
@@ -350,7 +350,7 @@ static const struct pci_device_id trm290_pci_tbl[] = { | |||
350 | }; | 350 | }; |
351 | MODULE_DEVICE_TABLE(pci, trm290_pci_tbl); | 351 | MODULE_DEVICE_TABLE(pci, trm290_pci_tbl); |
352 | 352 | ||
353 | static struct pci_driver driver = { | 353 | static struct pci_driver trm290_pci_driver = { |
354 | .name = "TRM290_IDE", | 354 | .name = "TRM290_IDE", |
355 | .id_table = trm290_pci_tbl, | 355 | .id_table = trm290_pci_tbl, |
356 | .probe = trm290_init_one, | 356 | .probe = trm290_init_one, |
@@ -359,12 +359,12 @@ static struct pci_driver driver = { | |||
359 | 359 | ||
360 | static int __init trm290_ide_init(void) | 360 | static int __init trm290_ide_init(void) |
361 | { | 361 | { |
362 | return ide_pci_register_driver(&driver); | 362 | return ide_pci_register_driver(&trm290_pci_driver); |
363 | } | 363 | } |
364 | 364 | ||
365 | static void __exit trm290_ide_exit(void) | 365 | static void __exit trm290_ide_exit(void) |
366 | { | 366 | { |
367 | pci_unregister_driver(&driver); | 367 | pci_unregister_driver(&trm290_pci_driver); |
368 | } | 368 | } |
369 | 369 | ||
370 | module_init(trm290_ide_init); | 370 | module_init(trm290_ide_init); |
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index acacdaab69c2..2a812d3207e9 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c | |||
@@ -487,7 +487,7 @@ static const struct pci_device_id via_pci_tbl[] = { | |||
487 | }; | 487 | }; |
488 | MODULE_DEVICE_TABLE(pci, via_pci_tbl); | 488 | MODULE_DEVICE_TABLE(pci, via_pci_tbl); |
489 | 489 | ||
490 | static struct pci_driver driver = { | 490 | static struct pci_driver via_pci_driver = { |
491 | .name = "VIA_IDE", | 491 | .name = "VIA_IDE", |
492 | .id_table = via_pci_tbl, | 492 | .id_table = via_pci_tbl, |
493 | .probe = via_init_one, | 493 | .probe = via_init_one, |
@@ -498,12 +498,12 @@ static struct pci_driver driver = { | |||
498 | 498 | ||
499 | static int __init via_ide_init(void) | 499 | static int __init via_ide_init(void) |
500 | { | 500 | { |
501 | return ide_pci_register_driver(&driver); | 501 | return ide_pci_register_driver(&via_pci_driver); |
502 | } | 502 | } |
503 | 503 | ||
504 | static void __exit via_ide_exit(void) | 504 | static void __exit via_ide_exit(void) |
505 | { | 505 | { |
506 | pci_unregister_driver(&driver); | 506 | pci_unregister_driver(&via_pci_driver); |
507 | } | 507 | } |
508 | 508 | ||
509 | module_init(via_ide_init); | 509 | module_init(via_ide_init); |