diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-04 21:56:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-10 19:09:17 -0500 |
commit | 249bb070f5e821503c1118e1e87c0ccb1432d191 (patch) | |
tree | 8736af4ab6dfa5e95001194603225b96def849bb /drivers/char | |
parent | 863b18f4b5e7d9e6903b353328cf6fa084dbb619 (diff) |
[PATCH] PCI: removed unneeded .owner field from struct pci_driver
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/agp/ali-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/amd-k7-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/amd64-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/ati-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/efficeon-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/i460-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/intel-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/nvidia-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/sis-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/sworks-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/uninorth-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/agp/via-agp.c | 1 | ||||
-rw-r--r-- | drivers/char/epca.c | 1 | ||||
-rw-r--r-- | drivers/char/synclink.c | 1 | ||||
-rw-r--r-- | drivers/char/synclinkmp.c | 1 | ||||
-rw-r--r-- | drivers/char/watchdog/pcwd_pci.c | 1 | ||||
-rw-r--r-- | drivers/char/watchdog/wdt_pci.c | 1 |
17 files changed, 0 insertions, 17 deletions
diff --git a/drivers/char/agp/ali-agp.c b/drivers/char/agp/ali-agp.c index ba54b5872578..b02fc2267159 100644 --- a/drivers/char/agp/ali-agp.c +++ b/drivers/char/agp/ali-agp.c | |||
@@ -389,7 +389,6 @@ static struct pci_device_id agp_ali_pci_table[] = { | |||
389 | MODULE_DEVICE_TABLE(pci, agp_ali_pci_table); | 389 | MODULE_DEVICE_TABLE(pci, agp_ali_pci_table); |
390 | 390 | ||
391 | static struct pci_driver agp_ali_pci_driver = { | 391 | static struct pci_driver agp_ali_pci_driver = { |
392 | .owner = THIS_MODULE, | ||
393 | .name = "agpgart-ali", | 392 | .name = "agpgart-ali", |
394 | .id_table = agp_ali_pci_table, | 393 | .id_table = agp_ali_pci_table, |
395 | .probe = agp_ali_probe, | 394 | .probe = agp_ali_probe, |
diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c index 40fcd88b2cea..1f776651ac64 100644 --- a/drivers/char/agp/amd-k7-agp.c +++ b/drivers/char/agp/amd-k7-agp.c | |||
@@ -515,7 +515,6 @@ static struct pci_device_id agp_amdk7_pci_table[] = { | |||
515 | MODULE_DEVICE_TABLE(pci, agp_amdk7_pci_table); | 515 | MODULE_DEVICE_TABLE(pci, agp_amdk7_pci_table); |
516 | 516 | ||
517 | static struct pci_driver agp_amdk7_pci_driver = { | 517 | static struct pci_driver agp_amdk7_pci_driver = { |
518 | .owner = THIS_MODULE, | ||
519 | .name = "agpgart-amdk7", | 518 | .name = "agpgart-amdk7", |
520 | .id_table = agp_amdk7_pci_table, | 519 | .id_table = agp_amdk7_pci_table, |
521 | .probe = agp_amdk7_probe, | 520 | .probe = agp_amdk7_probe, |
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c index 8f748fddca94..78ce98a69f37 100644 --- a/drivers/char/agp/amd64-agp.c +++ b/drivers/char/agp/amd64-agp.c | |||
@@ -703,7 +703,6 @@ static struct pci_device_id agp_amd64_pci_table[] = { | |||
703 | MODULE_DEVICE_TABLE(pci, agp_amd64_pci_table); | 703 | MODULE_DEVICE_TABLE(pci, agp_amd64_pci_table); |
704 | 704 | ||
705 | static struct pci_driver agp_amd64_pci_driver = { | 705 | static struct pci_driver agp_amd64_pci_driver = { |
706 | .owner = THIS_MODULE, | ||
707 | .name = "agpgart-amd64", | 706 | .name = "agpgart-amd64", |
708 | .id_table = agp_amd64_pci_table, | 707 | .id_table = agp_amd64_pci_table, |
709 | .probe = agp_amd64_probe, | 708 | .probe = agp_amd64_probe, |
diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c index fbd415565463..53372a83b675 100644 --- a/drivers/char/agp/ati-agp.c +++ b/drivers/char/agp/ati-agp.c | |||
@@ -521,7 +521,6 @@ static struct pci_device_id agp_ati_pci_table[] = { | |||
521 | MODULE_DEVICE_TABLE(pci, agp_ati_pci_table); | 521 | MODULE_DEVICE_TABLE(pci, agp_ati_pci_table); |
522 | 522 | ||
523 | static struct pci_driver agp_ati_pci_driver = { | 523 | static struct pci_driver agp_ati_pci_driver = { |
524 | .owner = THIS_MODULE, | ||
525 | .name = "agpgart-ati", | 524 | .name = "agpgart-ati", |
526 | .id_table = agp_ati_pci_table, | 525 | .id_table = agp_ati_pci_table, |
527 | .probe = agp_ati_probe, | 526 | .probe = agp_ati_probe, |
diff --git a/drivers/char/agp/efficeon-agp.c b/drivers/char/agp/efficeon-agp.c index d41e0a62e32e..e7aea77a60f9 100644 --- a/drivers/char/agp/efficeon-agp.c +++ b/drivers/char/agp/efficeon-agp.c | |||
@@ -429,7 +429,6 @@ static struct pci_device_id agp_efficeon_pci_table[] = { | |||
429 | MODULE_DEVICE_TABLE(pci, agp_efficeon_pci_table); | 429 | MODULE_DEVICE_TABLE(pci, agp_efficeon_pci_table); |
430 | 430 | ||
431 | static struct pci_driver agp_efficeon_pci_driver = { | 431 | static struct pci_driver agp_efficeon_pci_driver = { |
432 | .owner = THIS_MODULE, | ||
433 | .name = "agpgart-efficeon", | 432 | .name = "agpgart-efficeon", |
434 | .id_table = agp_efficeon_pci_table, | 433 | .id_table = agp_efficeon_pci_table, |
435 | .probe = agp_efficeon_probe, | 434 | .probe = agp_efficeon_probe, |
diff --git a/drivers/char/agp/i460-agp.c b/drivers/char/agp/i460-agp.c index 34a444658ffe..8ee19a4a6bce 100644 --- a/drivers/char/agp/i460-agp.c +++ b/drivers/char/agp/i460-agp.c | |||
@@ -622,7 +622,6 @@ static struct pci_device_id agp_intel_i460_pci_table[] = { | |||
622 | MODULE_DEVICE_TABLE(pci, agp_intel_i460_pci_table); | 622 | MODULE_DEVICE_TABLE(pci, agp_intel_i460_pci_table); |
623 | 623 | ||
624 | static struct pci_driver agp_intel_i460_pci_driver = { | 624 | static struct pci_driver agp_intel_i460_pci_driver = { |
625 | .owner = THIS_MODULE, | ||
626 | .name = "agpgart-intel-i460", | 625 | .name = "agpgart-intel-i460", |
627 | .id_table = agp_intel_i460_pci_table, | 626 | .id_table = agp_intel_i460_pci_table, |
628 | .probe = agp_intel_i460_probe, | 627 | .probe = agp_intel_i460_probe, |
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index 027161ab88e9..e7bed5047dcc 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
@@ -1827,7 +1827,6 @@ static struct pci_device_id agp_intel_pci_table[] = { | |||
1827 | MODULE_DEVICE_TABLE(pci, agp_intel_pci_table); | 1827 | MODULE_DEVICE_TABLE(pci, agp_intel_pci_table); |
1828 | 1828 | ||
1829 | static struct pci_driver agp_intel_pci_driver = { | 1829 | static struct pci_driver agp_intel_pci_driver = { |
1830 | .owner = THIS_MODULE, | ||
1831 | .name = "agpgart-intel", | 1830 | .name = "agpgart-intel", |
1832 | .id_table = agp_intel_pci_table, | 1831 | .id_table = agp_intel_pci_table, |
1833 | .probe = agp_intel_probe, | 1832 | .probe = agp_intel_probe, |
diff --git a/drivers/char/agp/nvidia-agp.c b/drivers/char/agp/nvidia-agp.c index 3aed0c5e2f92..80dafa3030bd 100644 --- a/drivers/char/agp/nvidia-agp.c +++ b/drivers/char/agp/nvidia-agp.c | |||
@@ -398,7 +398,6 @@ static struct pci_device_id agp_nvidia_pci_table[] = { | |||
398 | MODULE_DEVICE_TABLE(pci, agp_nvidia_pci_table); | 398 | MODULE_DEVICE_TABLE(pci, agp_nvidia_pci_table); |
399 | 399 | ||
400 | static struct pci_driver agp_nvidia_pci_driver = { | 400 | static struct pci_driver agp_nvidia_pci_driver = { |
401 | .owner = THIS_MODULE, | ||
402 | .name = "agpgart-nvidia", | 401 | .name = "agpgart-nvidia", |
403 | .id_table = agp_nvidia_pci_table, | 402 | .id_table = agp_nvidia_pci_table, |
404 | .probe = agp_nvidia_probe, | 403 | .probe = agp_nvidia_probe, |
diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c index a701361a8890..ebc05554045c 100644 --- a/drivers/char/agp/sis-agp.c +++ b/drivers/char/agp/sis-agp.c | |||
@@ -332,7 +332,6 @@ static struct pci_device_id agp_sis_pci_table[] = { | |||
332 | MODULE_DEVICE_TABLE(pci, agp_sis_pci_table); | 332 | MODULE_DEVICE_TABLE(pci, agp_sis_pci_table); |
333 | 333 | ||
334 | static struct pci_driver agp_sis_pci_driver = { | 334 | static struct pci_driver agp_sis_pci_driver = { |
335 | .owner = THIS_MODULE, | ||
336 | .name = "agpgart-sis", | 335 | .name = "agpgart-sis", |
337 | .id_table = agp_sis_pci_table, | 336 | .id_table = agp_sis_pci_table, |
338 | .probe = agp_sis_probe, | 337 | .probe = agp_sis_probe, |
diff --git a/drivers/char/agp/sworks-agp.c b/drivers/char/agp/sworks-agp.c index 5a5392dd1254..3f8f7fa6b0ff 100644 --- a/drivers/char/agp/sworks-agp.c +++ b/drivers/char/agp/sworks-agp.c | |||
@@ -545,7 +545,6 @@ static struct pci_device_id agp_serverworks_pci_table[] = { | |||
545 | MODULE_DEVICE_TABLE(pci, agp_serverworks_pci_table); | 545 | MODULE_DEVICE_TABLE(pci, agp_serverworks_pci_table); |
546 | 546 | ||
547 | static struct pci_driver agp_serverworks_pci_driver = { | 547 | static struct pci_driver agp_serverworks_pci_driver = { |
548 | .owner = THIS_MODULE, | ||
549 | .name = "agpgart-serverworks", | 548 | .name = "agpgart-serverworks", |
550 | .id_table = agp_serverworks_pci_table, | 549 | .id_table = agp_serverworks_pci_table, |
551 | .probe = agp_serverworks_probe, | 550 | .probe = agp_serverworks_probe, |
diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c index 183c50acab27..c8255312b8c1 100644 --- a/drivers/char/agp/uninorth-agp.c +++ b/drivers/char/agp/uninorth-agp.c | |||
@@ -658,7 +658,6 @@ static struct pci_device_id agp_uninorth_pci_table[] = { | |||
658 | MODULE_DEVICE_TABLE(pci, agp_uninorth_pci_table); | 658 | MODULE_DEVICE_TABLE(pci, agp_uninorth_pci_table); |
659 | 659 | ||
660 | static struct pci_driver agp_uninorth_pci_driver = { | 660 | static struct pci_driver agp_uninorth_pci_driver = { |
661 | .owner = THIS_MODULE, | ||
662 | .name = "agpgart-uninorth", | 661 | .name = "agpgart-uninorth", |
663 | .id_table = agp_uninorth_pci_table, | 662 | .id_table = agp_uninorth_pci_table, |
664 | .probe = agp_uninorth_probe, | 663 | .probe = agp_uninorth_probe, |
diff --git a/drivers/char/agp/via-agp.c b/drivers/char/agp/via-agp.c index 5d9a13700074..c847df575cf5 100644 --- a/drivers/char/agp/via-agp.c +++ b/drivers/char/agp/via-agp.c | |||
@@ -518,7 +518,6 @@ MODULE_DEVICE_TABLE(pci, agp_via_pci_table); | |||
518 | 518 | ||
519 | 519 | ||
520 | static struct pci_driver agp_via_pci_driver = { | 520 | static struct pci_driver agp_via_pci_driver = { |
521 | .owner = THIS_MODULE, | ||
522 | .name = "agpgart-via", | 521 | .name = "agpgart-via", |
523 | .id_table = agp_via_pci_table, | 522 | .id_table = agp_via_pci_table, |
524 | .probe = agp_via_probe, | 523 | .probe = agp_via_probe, |
diff --git a/drivers/char/epca.c b/drivers/char/epca.c index b7a0e4d6b934..407708a001e4 100644 --- a/drivers/char/epca.c +++ b/drivers/char/epca.c | |||
@@ -3113,7 +3113,6 @@ MODULE_DEVICE_TABLE(pci, epca_pci_tbl); | |||
3113 | int __init init_PCI (void) | 3113 | int __init init_PCI (void) |
3114 | { /* Begin init_PCI */ | 3114 | { /* Begin init_PCI */ |
3115 | memset (&epca_driver, 0, sizeof (epca_driver)); | 3115 | memset (&epca_driver, 0, sizeof (epca_driver)); |
3116 | epca_driver.owner = THIS_MODULE; | ||
3117 | epca_driver.name = "epca"; | 3116 | epca_driver.name = "epca"; |
3118 | epca_driver.id_table = epca_pci_tbl; | 3117 | epca_driver.id_table = epca_pci_tbl; |
3119 | epca_driver.probe = epca_init_one; | 3118 | epca_driver.probe = epca_init_one; |
diff --git a/drivers/char/synclink.c b/drivers/char/synclink.c index 5d1ffa3bd4c3..82c6abde68df 100644 --- a/drivers/char/synclink.c +++ b/drivers/char/synclink.c | |||
@@ -912,7 +912,6 @@ MODULE_DEVICE_TABLE(pci, synclink_pci_tbl); | |||
912 | MODULE_LICENSE("GPL"); | 912 | MODULE_LICENSE("GPL"); |
913 | 913 | ||
914 | static struct pci_driver synclink_pci_driver = { | 914 | static struct pci_driver synclink_pci_driver = { |
915 | .owner = THIS_MODULE, | ||
916 | .name = "synclink", | 915 | .name = "synclink", |
917 | .id_table = synclink_pci_tbl, | 916 | .id_table = synclink_pci_tbl, |
918 | .probe = synclink_init_one, | 917 | .probe = synclink_init_one, |
diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c index 7c063c5abc55..ee5a40be9f99 100644 --- a/drivers/char/synclinkmp.c +++ b/drivers/char/synclinkmp.c | |||
@@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(pci, synclinkmp_pci_tbl); | |||
500 | MODULE_LICENSE("GPL"); | 500 | MODULE_LICENSE("GPL"); |
501 | 501 | ||
502 | static struct pci_driver synclinkmp_pci_driver = { | 502 | static struct pci_driver synclinkmp_pci_driver = { |
503 | .owner = THIS_MODULE, | ||
504 | .name = "synclinkmp", | 503 | .name = "synclinkmp", |
505 | .id_table = synclinkmp_pci_tbl, | 504 | .id_table = synclinkmp_pci_tbl, |
506 | .probe = synclinkmp_init_one, | 505 | .probe = synclinkmp_init_one, |
diff --git a/drivers/char/watchdog/pcwd_pci.c b/drivers/char/watchdog/pcwd_pci.c index d9ef55bdf88a..2451edbefece 100644 --- a/drivers/char/watchdog/pcwd_pci.c +++ b/drivers/char/watchdog/pcwd_pci.c | |||
@@ -755,7 +755,6 @@ static struct pci_device_id pcipcwd_pci_tbl[] = { | |||
755 | MODULE_DEVICE_TABLE(pci, pcipcwd_pci_tbl); | 755 | MODULE_DEVICE_TABLE(pci, pcipcwd_pci_tbl); |
756 | 756 | ||
757 | static struct pci_driver pcipcwd_driver = { | 757 | static struct pci_driver pcipcwd_driver = { |
758 | .owner = THIS_MODULE, | ||
759 | .name = WATCHDOG_NAME, | 758 | .name = WATCHDOG_NAME, |
760 | .id_table = pcipcwd_pci_tbl, | 759 | .id_table = pcipcwd_pci_tbl, |
761 | .probe = pcipcwd_card_init, | 760 | .probe = pcipcwd_card_init, |
diff --git a/drivers/char/watchdog/wdt_pci.c b/drivers/char/watchdog/wdt_pci.c index dc9370f6c348..4b3311993d48 100644 --- a/drivers/char/watchdog/wdt_pci.c +++ b/drivers/char/watchdog/wdt_pci.c | |||
@@ -711,7 +711,6 @@ MODULE_DEVICE_TABLE(pci, wdtpci_pci_tbl); | |||
711 | 711 | ||
712 | 712 | ||
713 | static struct pci_driver wdtpci_driver = { | 713 | static struct pci_driver wdtpci_driver = { |
714 | .owner = THIS_MODULE, | ||
715 | .name = "wdt_pci", | 714 | .name = "wdt_pci", |
716 | .id_table = wdtpci_pci_tbl, | 715 | .id_table = wdtpci_pci_tbl, |
717 | .probe = wdtpci_init_one, | 716 | .probe = wdtpci_init_one, |