diff options
author | Greg KH <greg@press.kroah.org> | 2005-11-04 22:44:15 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-04 22:44:15 -0800 |
commit | 27471708b65d260df504c9cb2249ab7a31ecc241 (patch) | |
tree | 0d8db2c6ea09616ee0a25e3340784477deefe01a /pci | |
parent | 5dd2b470dacf52951e57c46c6b8442008080fea0 (diff) | |
download | patches-27471708b65d260df504c9cb2249ab7a31ecc241.tar.gz |
add pci patch
Diffstat (limited to 'pci')
-rw-r--r-- | pci/pci-driver-owner-removal.patch | 758 |
1 files changed, 758 insertions, 0 deletions
diff --git a/pci/pci-driver-owner-removal.patch b/pci/pci-driver-owner-removal.patch new file mode 100644 index 0000000000000..09183b0f43761 --- /dev/null +++ b/pci/pci-driver-owner-removal.patch @@ -0,0 +1,758 @@ +From foo@baz Fri Nov 4 20:56:29 2005 +Date: Fri, 4 Nov 2005 18:56:13 -0800 +From: Greg Kroah-Hartman <gregkh@suse.de> +Subject: PCI: removed unneeded .owner field from struct pci_driver + +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + +--- + drivers/char/epca.c | 1 - + drivers/char/synclink.c | 1 - + drivers/char/synclinkmp.c | 1 - + drivers/char/watchdog/pcwd_pci.c | 1 - + drivers/char/watchdog/wdt_pci.c | 1 - + drivers/i2c/busses/i2c-ali1535.c | 1 - + drivers/i2c/busses/i2c-ali1563.c | 1 - + drivers/i2c/busses/i2c-ali15x3.c | 1 - + drivers/i2c/busses/i2c-amd756.c | 1 - + drivers/i2c/busses/i2c-amd8111.c | 1 - + drivers/i2c/busses/i2c-hydra.c | 1 - + drivers/i2c/busses/i2c-i801.c | 1 - + drivers/i2c/busses/i2c-i810.c | 1 - + drivers/i2c/busses/i2c-nforce2.c | 1 - + drivers/i2c/busses/i2c-piix4.c | 1 - + drivers/i2c/busses/i2c-prosavage.c | 1 - + drivers/i2c/busses/i2c-savage4.c | 1 - + drivers/i2c/busses/i2c-sis5595.c | 1 - + drivers/i2c/busses/i2c-sis630.c | 1 - + drivers/i2c/busses/i2c-sis96x.c | 1 - + drivers/i2c/busses/i2c-via.c | 1 - + drivers/i2c/busses/i2c-viapro.c | 1 - + drivers/i2c/busses/i2c-voodoo3.c | 1 - + drivers/infiniband/hw/mthca/mthca_main.c | 1 - + drivers/usb/gadget/goku_udc.c | 1 - + drivers/usb/gadget/net2280.c | 1 - + drivers/usb/host/ehci-pci.c | 1 - + drivers/usb/host/ohci-pci.c | 1 - + drivers/usb/host/uhci-hcd.c | 1 - + include/linux/pci.h | 1 - + sound/pci/ad1889.c | 1 - + sound/pci/ali5451/ali5451.c | 1 - + sound/pci/als4000.c | 1 - + sound/pci/atiixp.c | 1 - + sound/pci/atiixp_modem.c | 1 - + sound/pci/au88x0/au88x0.c | 1 - + sound/pci/azt3328.c | 1 - + sound/pci/bt87x.c | 1 - + sound/pci/ca0106/ca0106_main.c | 1 - + sound/pci/cmipci.c | 1 - + sound/pci/cs4281.c | 1 - + sound/pci/cs46xx/cs46xx.c | 1 - + sound/pci/emu10k1/emu10k1.c | 1 - + sound/pci/emu10k1/emu10k1x.c | 1 - + sound/pci/ens1370.c | 1 - + sound/pci/es1938.c | 1 - + sound/pci/es1968.c | 1 - + sound/pci/fm801.c | 1 - + sound/pci/hda/hda_intel.c | 1 - + sound/pci/ice1712/ice1712.c | 1 - + sound/pci/ice1712/ice1724.c | 1 - + sound/pci/intel8x0.c | 1 - + sound/pci/intel8x0m.c | 1 - + sound/pci/korg1212/korg1212.c | 1 - + sound/pci/maestro3.c | 1 - + sound/pci/mixart/mixart.c | 1 - + sound/pci/nm256/nm256.c | 1 - + sound/pci/rme32.c | 1 - + sound/pci/rme96.c | 1 - + sound/pci/rme9652/hdsp.c | 1 - + sound/pci/rme9652/hdspm.c | 1 - + sound/pci/rme9652/rme9652.c | 1 - + sound/pci/sonicvibes.c | 1 - + sound/pci/trident/trident.c | 1 - + sound/pci/via82xx.c | 1 - + sound/pci/via82xx_modem.c | 1 - + sound/pci/vx222/vx222.c | 1 - + sound/pci/ymfpci/ymfpci.c | 1 - + 68 files changed, 68 deletions(-) + +--- gregkh-2.6.orig/drivers/usb/host/ehci-pci.c ++++ gregkh-2.6/drivers/usb/host/ehci-pci.c +@@ -380,7 +380,6 @@ MODULE_DEVICE_TABLE (pci, pci_ids); + static struct pci_driver ehci_pci_driver = { + .name = (char *) hcd_name, + .id_table = pci_ids, +- .owner = THIS_MODULE, + + .probe = usb_hcd_pci_probe, + .remove = usb_hcd_pci_remove, +--- gregkh-2.6.orig/drivers/usb/host/ohci-pci.c ++++ gregkh-2.6/drivers/usb/host/ohci-pci.c +@@ -218,7 +218,6 @@ MODULE_DEVICE_TABLE (pci, pci_ids); + static struct pci_driver ohci_pci_driver = { + .name = (char *) hcd_name, + .id_table = pci_ids, +- .owner = THIS_MODULE, + + .probe = usb_hcd_pci_probe, + .remove = usb_hcd_pci_remove, +--- gregkh-2.6.orig/drivers/usb/host/uhci-hcd.c ++++ gregkh-2.6/drivers/usb/host/uhci-hcd.c +@@ -831,7 +831,6 @@ MODULE_DEVICE_TABLE(pci, uhci_pci_ids); + static struct pci_driver uhci_pci_driver = { + .name = (char *)hcd_name, + .id_table = uhci_pci_ids, +- .owner = THIS_MODULE, + + .probe = usb_hcd_pci_probe, + .remove = usb_hcd_pci_remove, +--- gregkh-2.6.orig/include/linux/pci.h ++++ gregkh-2.6/include/linux/pci.h +@@ -237,7 +237,6 @@ struct module; + struct pci_driver { + struct list_head node; + char *name; +- struct module *owner; + const struct pci_device_id *id_table; /* must be non-NULL for probe to be called */ + int (*probe) (struct pci_dev *dev, const struct pci_device_id *id); /* New device inserted */ + void (*remove) (struct pci_dev *dev); /* Device removed (NULL if not a hot-plug capable driver) */ +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-ali1535.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-ali1535.c +@@ -513,7 +513,6 @@ static void __devexit ali1535_remove(str + } + + static struct pci_driver ali1535_driver = { +- .owner = THIS_MODULE, + .name = "ali1535_smbus", + .id_table = ali1535_ids, + .probe = ali1535_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-ali1563.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-ali1563.c +@@ -408,7 +408,6 @@ static struct pci_device_id __devinitdat + MODULE_DEVICE_TABLE (pci, ali1563_id_table); + + static struct pci_driver ali1563_pci_driver = { +- .owner = THIS_MODULE, + .name = "ali1563_smbus", + .id_table = ali1563_id_table, + .probe = ali1563_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-ali15x3.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-ali15x3.c +@@ -504,7 +504,6 @@ static void __devexit ali15x3_remove(str + } + + static struct pci_driver ali15x3_driver = { +- .owner = THIS_MODULE, + .name = "ali15x3_smbus", + .id_table = ali15x3_ids, + .probe = ali15x3_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-amd756.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-amd756.c +@@ -401,7 +401,6 @@ static void __devexit amd756_remove(stru + } + + static struct pci_driver amd756_driver = { +- .owner = THIS_MODULE, + .name = "amd756_smbus", + .id_table = amd756_ids, + .probe = amd756_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-amd8111.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-amd8111.c +@@ -384,7 +384,6 @@ static void __devexit amd8111_remove(str + } + + static struct pci_driver amd8111_driver = { +- .owner = THIS_MODULE, + .name = "amd8111_smbus2", + .id_table = amd8111_ids, + .probe = amd8111_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-hydra.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-hydra.c +@@ -155,7 +155,6 @@ static void __devexit hydra_remove(struc + + + static struct pci_driver hydra_driver = { +- .owner = THIS_MODULE, + .name = "hydra_smbus", + .id_table = hydra_ids, + .probe = hydra_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-i801.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-i801.c +@@ -560,7 +560,6 @@ static void __devexit i801_remove(struct + } + + static struct pci_driver i801_driver = { +- .owner = THIS_MODULE, + .name = "i801_smbus", + .id_table = i801_ids, + .probe = i801_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-i810.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-i810.c +@@ -233,7 +233,6 @@ static void __devexit i810_remove(struct + } + + static struct pci_driver i810_driver = { +- .owner = THIS_MODULE, + .name = "i810_smbus", + .id_table = i810_ids, + .probe = i810_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-nforce2.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-nforce2.c +@@ -347,7 +347,6 @@ static void __devexit nforce2_remove(str + } + + static struct pci_driver nforce2_driver = { +- .owner = THIS_MODULE, + .name = "nForce2_smbus", + .id_table = nforce2_ids, + .probe = nforce2_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-piix4.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-piix4.c +@@ -462,7 +462,6 @@ static void __devexit piix4_remove(struc + } + + static struct pci_driver piix4_driver = { +- .owner = THIS_MODULE, + .name = "piix4_smbus", + .id_table = piix4_ids, + .probe = piix4_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-prosavage.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-prosavage.c +@@ -301,7 +301,6 @@ static struct pci_device_id prosavage_pc + MODULE_DEVICE_TABLE (pci, prosavage_pci_tbl); + + static struct pci_driver prosavage_driver = { +- .owner = THIS_MODULE, + .name = "prosavage_smbus", + .id_table = prosavage_pci_tbl, + .probe = prosavage_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-savage4.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-savage4.c +@@ -179,7 +179,6 @@ static void __devexit savage4_remove(str + } + + static struct pci_driver savage4_driver = { +- .owner = THIS_MODULE, + .name = "savage4_smbus", + .id_table = savage4_ids, + .probe = savage4_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-sis5595.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-sis5595.c +@@ -398,7 +398,6 @@ static void __devexit sis5595_remove(str + } + + static struct pci_driver sis5595_driver = { +- .owner = THIS_MODULE, + .name = "sis5595_smbus", + .id_table = sis5595_ids, + .probe = sis5595_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-sis630.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-sis630.c +@@ -496,7 +496,6 @@ static void __devexit sis630_remove(stru + + + static struct pci_driver sis630_driver = { +- .owner = THIS_MODULE, + .name = "sis630_smbus", + .id_table = sis630_ids, + .probe = sis630_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-sis96x.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-sis96x.c +@@ -329,7 +329,6 @@ static void __devexit sis96x_remove(stru + } + + static struct pci_driver sis96x_driver = { +- .owner = THIS_MODULE, + .name = "sis96x_smbus", + .id_table = sis96x_ids, + .probe = sis96x_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-via.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-via.c +@@ -159,7 +159,6 @@ static void __devexit vt586b_remove(stru + + + static struct pci_driver vt586b_driver = { +- .owner = THIS_MODULE, + .name = "vt586b_smbus", + .id_table = vt586b_ids, + .probe = vt586b_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-viapro.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-viapro.c +@@ -440,7 +440,6 @@ static struct pci_device_id vt596_ids[] + MODULE_DEVICE_TABLE(pci, vt596_ids); + + static struct pci_driver vt596_driver = { +- .owner = THIS_MODULE, + .name = "vt596_smbus", + .id_table = vt596_ids, + .probe = vt596_probe, +--- gregkh-2.6.orig/drivers/i2c/busses/i2c-voodoo3.c ++++ gregkh-2.6/drivers/i2c/busses/i2c-voodoo3.c +@@ -225,7 +225,6 @@ static void __devexit voodoo3_remove(str + } + + static struct pci_driver voodoo3_driver = { +- .owner = THIS_MODULE, + .name = "voodoo3_smbus", + .id_table = voodoo3_ids, + .probe = voodoo3_probe, +--- gregkh-2.6.orig/drivers/infiniband/hw/mthca/mthca_main.c ++++ gregkh-2.6/drivers/infiniband/hw/mthca/mthca_main.c +@@ -1196,7 +1196,6 @@ MODULE_DEVICE_TABLE(pci, mthca_pci_table + + static struct pci_driver mthca_driver = { + .name = DRV_NAME, +- .owner = THIS_MODULE, + .id_table = mthca_pci_table, + .probe = mthca_init_one, + .remove = __devexit_p(mthca_remove_one) +--- gregkh-2.6.orig/sound/pci/ali5451/ali5451.c ++++ gregkh-2.6/sound/pci/ali5451/ali5451.c +@@ -2413,7 +2413,6 @@ static void __devexit snd_ali_remove(str + + static struct pci_driver driver = { + .name = "ALI 5451", +- .owner = THIS_MODULE, + .id_table = snd_ali_ids, + .probe = snd_ali_probe, + .remove = __devexit_p(snd_ali_remove), +--- gregkh-2.6.orig/sound/pci/hda/hda_intel.c ++++ gregkh-2.6/sound/pci/hda/hda_intel.c +@@ -1608,7 +1608,6 @@ MODULE_DEVICE_TABLE(pci, azx_ids); + /* pci_driver definition */ + static struct pci_driver driver = { + .name = "HDA Intel", +- .owner = THIS_MODULE, + .id_table = azx_ids, + .probe = azx_probe, + .remove = __devexit_p(azx_remove), +--- gregkh-2.6.orig/sound/pci/ad1889.c ++++ gregkh-2.6/sound/pci/ad1889.c +@@ -1068,7 +1068,6 @@ MODULE_DEVICE_TABLE(pci, snd_ad1889_ids) + + static struct pci_driver ad1889_pci = { + .name = "AD1889 Audio", +- .owner = THIS_MODULE, + .id_table = snd_ad1889_ids, + .probe = snd_ad1889_probe, + .remove = __devexit_p(snd_ad1889_remove), +--- gregkh-2.6.orig/sound/pci/als4000.c ++++ gregkh-2.6/sound/pci/als4000.c +@@ -770,7 +770,6 @@ static void __devexit snd_card_als4000_r + + static struct pci_driver driver = { + .name = "ALS4000", +- .owner = THIS_MODULE, + .id_table = snd_als4000_ids, + .probe = snd_card_als4000_probe, + .remove = __devexit_p(snd_card_als4000_remove), +--- gregkh-2.6.orig/sound/pci/atiixp.c ++++ gregkh-2.6/sound/pci/atiixp.c +@@ -1645,7 +1645,6 @@ static void __devexit snd_atiixp_remove( + + static struct pci_driver driver = { + .name = "ATI IXP AC97 controller", +- .owner = THIS_MODULE, + .id_table = snd_atiixp_ids, + .probe = snd_atiixp_probe, + .remove = __devexit_p(snd_atiixp_remove), +--- gregkh-2.6.orig/sound/pci/atiixp_modem.c ++++ gregkh-2.6/sound/pci/atiixp_modem.c +@@ -1318,7 +1318,6 @@ static void __devexit snd_atiixp_remove( + + static struct pci_driver driver = { + .name = "ATI IXP MC97 controller", +- .owner = THIS_MODULE, + .id_table = snd_atiixp_ids, + .probe = snd_atiixp_probe, + .remove = __devexit_p(snd_atiixp_remove), +--- gregkh-2.6.orig/sound/pci/azt3328.c ++++ gregkh-2.6/sound/pci/azt3328.c +@@ -1511,7 +1511,6 @@ static void __devexit snd_azf3328_remove + + static struct pci_driver driver = { + .name = "AZF3328", +- .owner = THIS_MODULE, + .id_table = snd_azf3328_ids, + .probe = snd_azf3328_probe, + .remove = __devexit_p(snd_azf3328_remove), +--- gregkh-2.6.orig/sound/pci/bt87x.c ++++ gregkh-2.6/sound/pci/bt87x.c +@@ -904,7 +904,6 @@ static struct pci_device_id snd_bt87x_de + + static struct pci_driver driver = { + .name = "Bt87x", +- .owner = THIS_MODULE, + .id_table = snd_bt87x_ids, + .probe = snd_bt87x_probe, + .remove = __devexit_p(snd_bt87x_remove), +--- gregkh-2.6.orig/sound/pci/cmipci.c ++++ gregkh-2.6/sound/pci/cmipci.c +@@ -3037,7 +3037,6 @@ static void __devexit snd_cmipci_remove( + + static struct pci_driver driver = { + .name = "C-Media PCI", +- .owner = THIS_MODULE, + .id_table = snd_cmipci_ids, + .probe = snd_cmipci_probe, + .remove = __devexit_p(snd_cmipci_remove), +--- gregkh-2.6.orig/sound/pci/cs4281.c ++++ gregkh-2.6/sound/pci/cs4281.c +@@ -2108,7 +2108,6 @@ static int cs4281_resume(snd_card_t *car + + static struct pci_driver driver = { + .name = "CS4281", +- .owner = THIS_MODULE, + .id_table = snd_cs4281_ids, + .probe = snd_cs4281_probe, + .remove = __devexit_p(snd_cs4281_remove), +--- gregkh-2.6.orig/sound/pci/ens1370.c ++++ gregkh-2.6/sound/pci/ens1370.c +@@ -2387,7 +2387,6 @@ static void __devexit snd_audiopci_remov + + static struct pci_driver driver = { + .name = DRIVER_NAME, +- .owner = THIS_MODULE, + .id_table = snd_audiopci_ids, + .probe = snd_audiopci_probe, + .remove = __devexit_p(snd_audiopci_remove), +--- gregkh-2.6.orig/sound/pci/es1938.c ++++ gregkh-2.6/sound/pci/es1938.c +@@ -1746,7 +1746,6 @@ static void __devexit snd_es1938_remove( + + static struct pci_driver driver = { + .name = "ESS ES1938 (Solo-1)", +- .owner = THIS_MODULE, + .id_table = snd_es1938_ids, + .probe = snd_es1938_probe, + .remove = __devexit_p(snd_es1938_remove), +--- gregkh-2.6.orig/sound/pci/es1968.c ++++ gregkh-2.6/sound/pci/es1968.c +@@ -2763,7 +2763,6 @@ static void __devexit snd_es1968_remove( + + static struct pci_driver driver = { + .name = "ES1968 (ESS Maestro)", +- .owner = THIS_MODULE, + .id_table = snd_es1968_ids, + .probe = snd_es1968_probe, + .remove = __devexit_p(snd_es1968_remove), +--- gregkh-2.6.orig/sound/pci/fm801.c ++++ gregkh-2.6/sound/pci/fm801.c +@@ -1462,7 +1462,6 @@ static void __devexit snd_card_fm801_rem + + static struct pci_driver driver = { + .name = "FM801", +- .owner = THIS_MODULE, + .id_table = snd_fm801_ids, + .probe = snd_card_fm801_probe, + .remove = __devexit_p(snd_card_fm801_remove), +--- gregkh-2.6.orig/sound/pci/intel8x0.c ++++ gregkh-2.6/sound/pci/intel8x0.c +@@ -2864,7 +2864,6 @@ static void __devexit snd_intel8x0_remov + + static struct pci_driver driver = { + .name = "Intel ICH", +- .owner = THIS_MODULE, + .id_table = snd_intel8x0_ids, + .probe = snd_intel8x0_probe, + .remove = __devexit_p(snd_intel8x0_remove), +--- gregkh-2.6.orig/sound/pci/intel8x0m.c ++++ gregkh-2.6/sound/pci/intel8x0m.c +@@ -1326,7 +1326,6 @@ static void __devexit snd_intel8x0m_remo + + static struct pci_driver driver = { + .name = "Intel ICH Modem", +- .owner = THIS_MODULE, + .id_table = snd_intel8x0m_ids, + .probe = snd_intel8x0m_probe, + .remove = __devexit_p(snd_intel8x0m_remove), +--- gregkh-2.6.orig/sound/pci/maestro3.c ++++ gregkh-2.6/sound/pci/maestro3.c +@@ -2861,7 +2861,6 @@ static void __devexit snd_m3_remove(stru + + static struct pci_driver driver = { + .name = "Maestro3", +- .owner = THIS_MODULE, + .id_table = snd_m3_ids, + .probe = snd_m3_probe, + .remove = __devexit_p(snd_m3_remove), +--- gregkh-2.6.orig/sound/pci/rme32.c ++++ gregkh-2.6/sound/pci/rme32.c +@@ -2012,7 +2012,6 @@ static void __devexit snd_rme32_remove(s + + static struct pci_driver driver = { + .name = "RME Digi32", +- .owner = THIS_MODULE, + .id_table = snd_rme32_ids, + .probe = snd_rme32_probe, + .remove = __devexit_p(snd_rme32_remove), +--- gregkh-2.6.orig/sound/pci/rme96.c ++++ gregkh-2.6/sound/pci/rme96.c +@@ -2413,7 +2413,6 @@ static void __devexit snd_rme96_remove(s + + static struct pci_driver driver = { + .name = "RME Digi96", +- .owner = THIS_MODULE, + .id_table = snd_rme96_ids, + .probe = snd_rme96_probe, + .remove = __devexit_p(snd_rme96_remove), +--- gregkh-2.6.orig/sound/pci/sonicvibes.c ++++ gregkh-2.6/sound/pci/sonicvibes.c +@@ -1508,7 +1508,6 @@ static void __devexit snd_sonic_remove(s + + static struct pci_driver driver = { + .name = "S3 SonicVibes", +- .owner = THIS_MODULE, + .id_table = snd_sonic_ids, + .probe = snd_sonic_probe, + .remove = __devexit_p(snd_sonic_remove), +--- gregkh-2.6.orig/sound/pci/via82xx.c ++++ gregkh-2.6/sound/pci/via82xx.c +@@ -2345,7 +2345,6 @@ static void __devexit snd_via82xx_remove + + static struct pci_driver driver = { + .name = "VIA 82xx Audio", +- .owner = THIS_MODULE, + .id_table = snd_via82xx_ids, + .probe = snd_via82xx_probe, + .remove = __devexit_p(snd_via82xx_remove), +--- gregkh-2.6.orig/sound/pci/via82xx_modem.c ++++ gregkh-2.6/sound/pci/via82xx_modem.c +@@ -1207,7 +1207,6 @@ static void __devexit snd_via82xx_remove + + static struct pci_driver driver = { + .name = "VIA 82xx Modem", +- .owner = THIS_MODULE, + .id_table = snd_via82xx_modem_ids, + .probe = snd_via82xx_probe, + .remove = __devexit_p(snd_via82xx_remove), +--- gregkh-2.6.orig/sound/pci/au88x0/au88x0.c ++++ gregkh-2.6/sound/pci/au88x0/au88x0.c +@@ -373,7 +373,6 @@ static void __devexit snd_vortex_remove( + // pci_driver definition + static struct pci_driver driver = { + .name = CARD_NAME_SHORT, +- .owner = THIS_MODULE, + .id_table = snd_vortex_ids, + .probe = snd_vortex_probe, + .remove = __devexit_p(snd_vortex_remove), +--- gregkh-2.6.orig/sound/pci/ca0106/ca0106_main.c ++++ gregkh-2.6/sound/pci/ca0106/ca0106_main.c +@@ -1390,7 +1390,6 @@ MODULE_DEVICE_TABLE(pci, snd_ca0106_ids) + // pci_driver definition + static struct pci_driver driver = { + .name = "CA0106", +- .owner = THIS_MODULE, + .id_table = snd_ca0106_ids, + .probe = snd_ca0106_probe, + .remove = __devexit_p(snd_ca0106_remove), +--- gregkh-2.6.orig/sound/pci/cs46xx/cs46xx.c ++++ gregkh-2.6/sound/pci/cs46xx/cs46xx.c +@@ -163,7 +163,6 @@ static void __devexit snd_card_cs46xx_re + + static struct pci_driver driver = { + .name = "Sound Fusion CS46xx", +- .owner = THIS_MODULE, + .id_table = snd_cs46xx_ids, + .probe = snd_card_cs46xx_probe, + .remove = __devexit_p(snd_card_cs46xx_remove), +--- gregkh-2.6.orig/sound/pci/emu10k1/emu10k1.c ++++ gregkh-2.6/sound/pci/emu10k1/emu10k1.c +@@ -223,7 +223,6 @@ static void __devexit snd_card_emu10k1_r + + static struct pci_driver driver = { + .name = "EMU10K1_Audigy", +- .owner = THIS_MODULE, + .id_table = snd_emu10k1_ids, + .probe = snd_card_emu10k1_probe, + .remove = __devexit_p(snd_card_emu10k1_remove), +--- gregkh-2.6.orig/sound/pci/emu10k1/emu10k1x.c ++++ gregkh-2.6/sound/pci/emu10k1/emu10k1x.c +@@ -1615,7 +1615,6 @@ MODULE_DEVICE_TABLE(pci, snd_emu10k1x_id + // pci_driver definition + static struct pci_driver driver = { + .name = "EMU10K1X", +- .owner = THIS_MODULE, + .id_table = snd_emu10k1x_ids, + .probe = snd_emu10k1x_probe, + .remove = __devexit_p(snd_emu10k1x_remove), +--- gregkh-2.6.orig/sound/pci/ice1712/ice1712.c ++++ gregkh-2.6/sound/pci/ice1712/ice1712.c +@@ -2735,7 +2735,6 @@ static void __devexit snd_ice1712_remove + + static struct pci_driver driver = { + .name = "ICE1712", +- .owner = THIS_MODULE, + .id_table = snd_ice1712_ids, + .probe = snd_ice1712_probe, + .remove = __devexit_p(snd_ice1712_remove), +--- gregkh-2.6.orig/sound/pci/ice1712/ice1724.c ++++ gregkh-2.6/sound/pci/ice1712/ice1724.c +@@ -2315,7 +2315,6 @@ static void __devexit snd_vt1724_remove( + + static struct pci_driver driver = { + .name = "ICE1724", +- .owner = THIS_MODULE, + .id_table = snd_vt1724_ids, + .probe = snd_vt1724_probe, + .remove = __devexit_p(snd_vt1724_remove), +--- gregkh-2.6.orig/sound/pci/korg1212/korg1212.c ++++ gregkh-2.6/sound/pci/korg1212/korg1212.c +@@ -2534,7 +2534,6 @@ static void __devexit snd_korg1212_remov + + static struct pci_driver driver = { + .name = "korg1212", +- .owner = THIS_MODULE, + .id_table = snd_korg1212_ids, + .probe = snd_korg1212_probe, + .remove = __devexit_p(snd_korg1212_remove), +--- gregkh-2.6.orig/sound/pci/mixart/mixart.c ++++ gregkh-2.6/sound/pci/mixart/mixart.c +@@ -1424,7 +1424,6 @@ static void __devexit snd_mixart_remove( + + static struct pci_driver driver = { + .name = "Digigram miXart", +- .owner = THIS_MODULE, + .id_table = snd_mixart_ids, + .probe = snd_mixart_probe, + .remove = __devexit_p(snd_mixart_remove), +--- gregkh-2.6.orig/sound/pci/vx222/vx222.c ++++ gregkh-2.6/sound/pci/vx222/vx222.c +@@ -252,7 +252,6 @@ static void __devexit snd_vx222_remove(s + + static struct pci_driver driver = { + .name = "Digigram VX222", +- .owner = THIS_MODULE, + .id_table = snd_vx222_ids, + .probe = snd_vx222_probe, + .remove = __devexit_p(snd_vx222_remove), +--- gregkh-2.6.orig/sound/pci/nm256/nm256.c ++++ gregkh-2.6/sound/pci/nm256/nm256.c +@@ -1668,7 +1668,6 @@ static void __devexit snd_nm256_remove(s + + static struct pci_driver driver = { + .name = "NeoMagic 256", +- .owner = THIS_MODULE, + .id_table = snd_nm256_ids, + .probe = snd_nm256_probe, + .remove = __devexit_p(snd_nm256_remove), +--- gregkh-2.6.orig/sound/pci/rme9652/hdsp.c ++++ gregkh-2.6/sound/pci/rme9652/hdsp.c +@@ -5216,7 +5216,6 @@ static void __devexit snd_hdsp_remove(st + + static struct pci_driver driver = { + .name = "RME Hammerfall DSP", +- .owner = THIS_MODULE, + .id_table = snd_hdsp_ids, + .probe = snd_hdsp_probe, + .remove = __devexit_p(snd_hdsp_remove), +--- gregkh-2.6.orig/sound/pci/rme9652/hdspm.c ++++ gregkh-2.6/sound/pci/rme9652/hdspm.c +@@ -3640,7 +3640,6 @@ static void __devexit snd_hdspm_remove(s + + static struct pci_driver driver = { + .name = "RME Hammerfall DSP MADI", +- .owner = THIS_MODULE, + .id_table = snd_hdspm_ids, + .probe = snd_hdspm_probe, + .remove = __devexit_p(snd_hdspm_remove), +--- gregkh-2.6.orig/sound/pci/rme9652/rme9652.c ++++ gregkh-2.6/sound/pci/rme9652/rme9652.c +@@ -2654,7 +2654,6 @@ static void __devexit snd_rme9652_remove + + static struct pci_driver driver = { + .name = "RME Digi9652 (Hammerfall)", +- .owner = THIS_MODULE, + .id_table = snd_rme9652_ids, + .probe = snd_rme9652_probe, + .remove = __devexit_p(snd_rme9652_remove), +--- gregkh-2.6.orig/sound/pci/trident/trident.c ++++ gregkh-2.6/sound/pci/trident/trident.c +@@ -177,7 +177,6 @@ static void __devexit snd_trident_remove + + static struct pci_driver driver = { + .name = "Trident4DWaveAudio", +- .owner = THIS_MODULE, + .id_table = snd_trident_ids, + .probe = snd_trident_probe, + .remove = __devexit_p(snd_trident_remove), +--- gregkh-2.6.orig/sound/pci/ymfpci/ymfpci.c ++++ gregkh-2.6/sound/pci/ymfpci/ymfpci.c +@@ -352,7 +352,6 @@ static void __devexit snd_card_ymfpci_re + + static struct pci_driver driver = { + .name = "Yamaha DS-XG PCI", +- .owner = THIS_MODULE, + .id_table = snd_ymfpci_ids, + .probe = snd_card_ymfpci_probe, + .remove = __devexit_p(snd_card_ymfpci_remove), +--- gregkh-2.6.orig/drivers/char/epca.c ++++ gregkh-2.6/drivers/char/epca.c +@@ -3112,7 +3112,6 @@ MODULE_DEVICE_TABLE(pci, epca_pci_tbl); + int __init init_PCI (void) + { /* Begin init_PCI */ + memset (&epca_driver, 0, sizeof (epca_driver)); +- epca_driver.owner = THIS_MODULE; + epca_driver.name = "epca"; + epca_driver.id_table = epca_pci_tbl; + epca_driver.probe = epca_init_one; +--- gregkh-2.6.orig/drivers/char/watchdog/pcwd_pci.c ++++ gregkh-2.6/drivers/char/watchdog/pcwd_pci.c +@@ -755,7 +755,6 @@ static struct pci_device_id pcipcwd_pci_ + MODULE_DEVICE_TABLE(pci, pcipcwd_pci_tbl); + + static struct pci_driver pcipcwd_driver = { +- .owner = THIS_MODULE, + .name = WATCHDOG_NAME, + .id_table = pcipcwd_pci_tbl, + .probe = pcipcwd_card_init, +--- gregkh-2.6.orig/drivers/char/watchdog/wdt_pci.c ++++ gregkh-2.6/drivers/char/watchdog/wdt_pci.c +@@ -711,7 +711,6 @@ MODULE_DEVICE_TABLE(pci, wdtpci_pci_tbl) + + + static struct pci_driver wdtpci_driver = { +- .owner = THIS_MODULE, + .name = "wdt_pci", + .id_table = wdtpci_pci_tbl, + .probe = wdtpci_init_one, +--- gregkh-2.6.orig/drivers/char/synclink.c ++++ gregkh-2.6/drivers/char/synclink.c +@@ -912,7 +912,6 @@ MODULE_DEVICE_TABLE(pci, synclink_pci_tb + MODULE_LICENSE("GPL"); + + static struct pci_driver synclink_pci_driver = { +- .owner = THIS_MODULE, + .name = "synclink", + .id_table = synclink_pci_tbl, + .probe = synclink_init_one, +--- gregkh-2.6.orig/drivers/char/synclinkmp.c ++++ gregkh-2.6/drivers/char/synclinkmp.c +@@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(pci, synclinkmp_pci_ + MODULE_LICENSE("GPL"); + + static struct pci_driver synclinkmp_pci_driver = { +- .owner = THIS_MODULE, + .name = "synclinkmp", + .id_table = synclinkmp_pci_tbl, + .probe = synclinkmp_init_one, +--- gregkh-2.6.orig/drivers/usb/gadget/goku_udc.c ++++ gregkh-2.6/drivers/usb/gadget/goku_udc.c +@@ -1970,7 +1970,6 @@ MODULE_DEVICE_TABLE (pci, pci_ids); + static struct pci_driver goku_pci_driver = { + .name = (char *) driver_name, + .id_table = pci_ids, +- .owner = THIS_MODULE, + + .probe = goku_probe, + .remove = goku_remove, +--- gregkh-2.6.orig/drivers/usb/gadget/net2280.c ++++ gregkh-2.6/drivers/usb/gadget/net2280.c +@@ -2948,7 +2948,6 @@ MODULE_DEVICE_TABLE (pci, pci_ids); + static struct pci_driver net2280_pci_driver = { + .name = (char *) driver_name, + .id_table = pci_ids, +- .owner = THIS_MODULE, + + .probe = net2280_probe, + .remove = net2280_remove, |