Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ALSA] set owner field in struct pci_driver

AD1889 driver,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver
AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver
ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver
Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver
RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver
ALI5451 driver,au88x0 driver,CS46xx driver,EMU10K1/EMU10K2 driver
HDA Intel driver,ICE1712 driver,ICE1724 driver,KORG1212 driver
MIXART driver,NM256 driver,RME HDSP driver,RME9652 driver
Trident driver,Digigram VX222 driver,YMFPCI driver
Set the module owner field in each driver's struct pci_driver to get
the driver symlink in the sysfs device directory.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

authored by

Clemens Ladisch and committed by
Jaroslav Kysela
3bcd4649 4338829e

+37 -1
+2 -1
sound/pci/ad1889.c
··· 50 50 #include "ad1889.h" 51 51 #include "ac97/ac97_id.h" 52 52 53 - #define AD1889_DRVVER "$Revision: 1.2 $" 53 + #define AD1889_DRVVER "$Revision: 1.3 $" 54 54 55 55 MODULE_AUTHOR("Kyle McMartin <kyle@parisc-linux.org>, Thibaut Varene <t-bone@parisc-linux.org>"); 56 56 MODULE_DESCRIPTION("Analog Devices AD1889 ALSA sound driver"); ··· 1068 1068 1069 1069 static struct pci_driver ad1889_pci = { 1070 1070 .name = "AD1889 Audio", 1071 + .owner = THIS_MODULE, 1071 1072 .id_table = snd_ad1889_ids, 1072 1073 .probe = snd_ad1889_probe, 1073 1074 .remove = __devexit_p(snd_ad1889_remove),
+1
sound/pci/ali5451/ali5451.c
··· 2411 2411 2412 2412 static struct pci_driver driver = { 2413 2413 .name = "ALI 5451", 2414 + .owner = THIS_MODULE, 2414 2415 .id_table = snd_ali_ids, 2415 2416 .probe = snd_ali_probe, 2416 2417 .remove = __devexit_p(snd_ali_remove),
+1
sound/pci/als4000.c
··· 770 770 771 771 static struct pci_driver driver = { 772 772 .name = "ALS4000", 773 + .owner = THIS_MODULE, 773 774 .id_table = snd_als4000_ids, 774 775 .probe = snd_card_als4000_probe, 775 776 .remove = __devexit_p(snd_card_als4000_remove),
+1
sound/pci/atiixp.c
··· 1645 1645 1646 1646 static struct pci_driver driver = { 1647 1647 .name = "ATI IXP AC97 controller", 1648 + .owner = THIS_MODULE, 1648 1649 .id_table = snd_atiixp_ids, 1649 1650 .probe = snd_atiixp_probe, 1650 1651 .remove = __devexit_p(snd_atiixp_remove),
+1
sound/pci/atiixp_modem.c
··· 1318 1318 1319 1319 static struct pci_driver driver = { 1320 1320 .name = "ATI IXP MC97 controller", 1321 + .owner = THIS_MODULE, 1321 1322 .id_table = snd_atiixp_ids, 1322 1323 .probe = snd_atiixp_probe, 1323 1324 .remove = __devexit_p(snd_atiixp_remove),
+1
sound/pci/au88x0/au88x0.c
··· 373 373 // pci_driver definition 374 374 static struct pci_driver driver = { 375 375 .name = CARD_NAME_SHORT, 376 + .owner = THIS_MODULE, 376 377 .id_table = snd_vortex_ids, 377 378 .probe = snd_vortex_probe, 378 379 .remove = __devexit_p(snd_vortex_remove),
+1
sound/pci/azt3328.c
··· 1511 1511 1512 1512 static struct pci_driver driver = { 1513 1513 .name = "AZF3328", 1514 + .owner = THIS_MODULE, 1514 1515 .id_table = snd_azf3328_ids, 1515 1516 .probe = snd_azf3328_probe, 1516 1517 .remove = __devexit_p(snd_azf3328_remove),
+1
sound/pci/bt87x.c
··· 901 901 902 902 static struct pci_driver driver = { 903 903 .name = "Bt87x", 904 + .owner = THIS_MODULE, 904 905 .id_table = snd_bt87x_ids, 905 906 .probe = snd_bt87x_probe, 906 907 .remove = __devexit_p(snd_bt87x_remove),
+1
sound/pci/cmipci.c
··· 3037 3037 3038 3038 static struct pci_driver driver = { 3039 3039 .name = "C-Media PCI", 3040 + .owner = THIS_MODULE, 3040 3041 .id_table = snd_cmipci_ids, 3041 3042 .probe = snd_cmipci_probe, 3042 3043 .remove = __devexit_p(snd_cmipci_remove),
+1
sound/pci/cs4281.c
··· 2108 2108 2109 2109 static struct pci_driver driver = { 2110 2110 .name = "CS4281", 2111 + .owner = THIS_MODULE, 2111 2112 .id_table = snd_cs4281_ids, 2112 2113 .probe = snd_cs4281_probe, 2113 2114 .remove = __devexit_p(snd_cs4281_remove),
+1
sound/pci/cs46xx/cs46xx.c
··· 163 163 164 164 static struct pci_driver driver = { 165 165 .name = "Sound Fusion CS46xx", 166 + .owner = THIS_MODULE, 166 167 .id_table = snd_cs46xx_ids, 167 168 .probe = snd_card_cs46xx_probe, 168 169 .remove = __devexit_p(snd_card_cs46xx_remove),
+1
sound/pci/emu10k1/emu10k1x.c
··· 1615 1615 // pci_driver definition 1616 1616 static struct pci_driver driver = { 1617 1617 .name = "EMU10K1X", 1618 + .owner = THIS_MODULE, 1618 1619 .id_table = snd_emu10k1x_ids, 1619 1620 .probe = snd_emu10k1x_probe, 1620 1621 .remove = __devexit_p(snd_emu10k1x_remove),
+1
sound/pci/ens1370.c
··· 2387 2387 2388 2388 static struct pci_driver driver = { 2389 2389 .name = DRIVER_NAME, 2390 + .owner = THIS_MODULE, 2390 2391 .id_table = snd_audiopci_ids, 2391 2392 .probe = snd_audiopci_probe, 2392 2393 .remove = __devexit_p(snd_audiopci_remove),
+1
sound/pci/es1938.c
··· 1746 1746 1747 1747 static struct pci_driver driver = { 1748 1748 .name = "ESS ES1938 (Solo-1)", 1749 + .owner = THIS_MODULE, 1749 1750 .id_table = snd_es1938_ids, 1750 1751 .probe = snd_es1938_probe, 1751 1752 .remove = __devexit_p(snd_es1938_remove),
+1
sound/pci/es1968.c
··· 2763 2763 2764 2764 static struct pci_driver driver = { 2765 2765 .name = "ES1968 (ESS Maestro)", 2766 + .owner = THIS_MODULE, 2766 2767 .id_table = snd_es1968_ids, 2767 2768 .probe = snd_es1968_probe, 2768 2769 .remove = __devexit_p(snd_es1968_remove),
+1
sound/pci/fm801.c
··· 1462 1462 1463 1463 static struct pci_driver driver = { 1464 1464 .name = "FM801", 1465 + .owner = THIS_MODULE, 1465 1466 .id_table = snd_fm801_ids, 1466 1467 .probe = snd_card_fm801_probe, 1467 1468 .remove = __devexit_p(snd_card_fm801_remove),
+1
sound/pci/hda/hda_intel.c
··· 1603 1603 /* pci_driver definition */ 1604 1604 static struct pci_driver driver = { 1605 1605 .name = "HDA Intel", 1606 + .owner = THIS_MODULE, 1606 1607 .id_table = azx_ids, 1607 1608 .probe = azx_probe, 1608 1609 .remove = __devexit_p(azx_remove),
+1
sound/pci/ice1712/ice1712.c
··· 2735 2735 2736 2736 static struct pci_driver driver = { 2737 2737 .name = "ICE1712", 2738 + .owner = THIS_MODULE, 2738 2739 .id_table = snd_ice1712_ids, 2739 2740 .probe = snd_ice1712_probe, 2740 2741 .remove = __devexit_p(snd_ice1712_remove),
+1
sound/pci/ice1712/ice1724.c
··· 2315 2315 2316 2316 static struct pci_driver driver = { 2317 2317 .name = "ICE1724", 2318 + .owner = THIS_MODULE, 2318 2319 .id_table = snd_vt1724_ids, 2319 2320 .probe = snd_vt1724_probe, 2320 2321 .remove = __devexit_p(snd_vt1724_remove),
+1
sound/pci/intel8x0.c
··· 2864 2864 2865 2865 static struct pci_driver driver = { 2866 2866 .name = "Intel ICH", 2867 + .owner = THIS_MODULE, 2867 2868 .id_table = snd_intel8x0_ids, 2868 2869 .probe = snd_intel8x0_probe, 2869 2870 .remove = __devexit_p(snd_intel8x0_remove),
+1
sound/pci/intel8x0m.c
··· 1326 1326 1327 1327 static struct pci_driver driver = { 1328 1328 .name = "Intel ICH Modem", 1329 + .owner = THIS_MODULE, 1329 1330 .id_table = snd_intel8x0m_ids, 1330 1331 .probe = snd_intel8x0m_probe, 1331 1332 .remove = __devexit_p(snd_intel8x0m_remove),
+1
sound/pci/korg1212/korg1212.c
··· 2534 2534 2535 2535 static struct pci_driver driver = { 2536 2536 .name = "korg1212", 2537 + .owner = THIS_MODULE, 2537 2538 .id_table = snd_korg1212_ids, 2538 2539 .probe = snd_korg1212_probe, 2539 2540 .remove = __devexit_p(snd_korg1212_remove),
+1
sound/pci/maestro3.c
··· 2861 2861 2862 2862 static struct pci_driver driver = { 2863 2863 .name = "Maestro3", 2864 + .owner = THIS_MODULE, 2864 2865 .id_table = snd_m3_ids, 2865 2866 .probe = snd_m3_probe, 2866 2867 .remove = __devexit_p(snd_m3_remove),
+1
sound/pci/mixart/mixart.c
··· 1424 1424 1425 1425 static struct pci_driver driver = { 1426 1426 .name = "Digigram miXart", 1427 + .owner = THIS_MODULE, 1427 1428 .id_table = snd_mixart_ids, 1428 1429 .probe = snd_mixart_probe, 1429 1430 .remove = __devexit_p(snd_mixart_remove),
+1
sound/pci/nm256/nm256.c
··· 1668 1668 1669 1669 static struct pci_driver driver = { 1670 1670 .name = "NeoMagic 256", 1671 + .owner = THIS_MODULE, 1671 1672 .id_table = snd_nm256_ids, 1672 1673 .probe = snd_nm256_probe, 1673 1674 .remove = __devexit_p(snd_nm256_remove),
+1
sound/pci/rme32.c
··· 2012 2012 2013 2013 static struct pci_driver driver = { 2014 2014 .name = "RME Digi32", 2015 + .owner = THIS_MODULE, 2015 2016 .id_table = snd_rme32_ids, 2016 2017 .probe = snd_rme32_probe, 2017 2018 .remove = __devexit_p(snd_rme32_remove),
+1
sound/pci/rme96.c
··· 2413 2413 2414 2414 static struct pci_driver driver = { 2415 2415 .name = "RME Digi96", 2416 + .owner = THIS_MODULE, 2416 2417 .id_table = snd_rme96_ids, 2417 2418 .probe = snd_rme96_probe, 2418 2419 .remove = __devexit_p(snd_rme96_remove),
+1
sound/pci/rme9652/hdsp.c
··· 5216 5216 5217 5217 static struct pci_driver driver = { 5218 5218 .name = "RME Hammerfall DSP", 5219 + .owner = THIS_MODULE, 5219 5220 .id_table = snd_hdsp_ids, 5220 5221 .probe = snd_hdsp_probe, 5221 5222 .remove = __devexit_p(snd_hdsp_remove),
+1
sound/pci/rme9652/hdspm.c
··· 3640 3640 3641 3641 static struct pci_driver driver = { 3642 3642 .name = "RME Hammerfall DSP MADI", 3643 + .owner = THIS_MODULE, 3643 3644 .id_table = snd_hdspm_ids, 3644 3645 .probe = snd_hdspm_probe, 3645 3646 .remove = __devexit_p(snd_hdspm_remove),
+1
sound/pci/rme9652/rme9652.c
··· 2654 2654 2655 2655 static struct pci_driver driver = { 2656 2656 .name = "RME Digi9652 (Hammerfall)", 2657 + .owner = THIS_MODULE, 2657 2658 .id_table = snd_rme9652_ids, 2658 2659 .probe = snd_rme9652_probe, 2659 2660 .remove = __devexit_p(snd_rme9652_remove),
+1
sound/pci/sonicvibes.c
··· 1508 1508 1509 1509 static struct pci_driver driver = { 1510 1510 .name = "S3 SonicVibes", 1511 + .owner = THIS_MODULE, 1511 1512 .id_table = snd_sonic_ids, 1512 1513 .probe = snd_sonic_probe, 1513 1514 .remove = __devexit_p(snd_sonic_remove),
+1
sound/pci/trident/trident.c
··· 177 177 178 178 static struct pci_driver driver = { 179 179 .name = "Trident4DWaveAudio", 180 + .owner = THIS_MODULE, 180 181 .id_table = snd_trident_ids, 181 182 .probe = snd_trident_probe, 182 183 .remove = __devexit_p(snd_trident_remove),
+1
sound/pci/via82xx.c
··· 2343 2343 2344 2344 static struct pci_driver driver = { 2345 2345 .name = "VIA 82xx Audio", 2346 + .owner = THIS_MODULE, 2346 2347 .id_table = snd_via82xx_ids, 2347 2348 .probe = snd_via82xx_probe, 2348 2349 .remove = __devexit_p(snd_via82xx_remove),
+1
sound/pci/via82xx_modem.c
··· 1207 1207 1208 1208 static struct pci_driver driver = { 1209 1209 .name = "VIA 82xx Modem", 1210 + .owner = THIS_MODULE, 1210 1211 .id_table = snd_via82xx_modem_ids, 1211 1212 .probe = snd_via82xx_probe, 1212 1213 .remove = __devexit_p(snd_via82xx_remove),
+1
sound/pci/vx222/vx222.c
··· 252 252 253 253 static struct pci_driver driver = { 254 254 .name = "Digigram VX222", 255 + .owner = THIS_MODULE, 255 256 .id_table = snd_vx222_ids, 256 257 .probe = snd_vx222_probe, 257 258 .remove = __devexit_p(snd_vx222_remove),
+1
sound/pci/ymfpci/ymfpci.c
··· 352 352 353 353 static struct pci_driver driver = { 354 354 .name = "Yamaha DS-XG PCI", 355 + .owner = THIS_MODULE, 355 356 .id_table = snd_ymfpci_ids, 356 357 .probe = snd_card_ymfpci_probe, 357 358 .remove = __devexit_p(snd_card_ymfpci_remove),