]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[ALSA] set owner field in struct pci_driver
authorClemens Ladisch <clemens@ladisch.de>
Mon, 12 Sep 2005 06:20:54 +0000 (08:20 +0200)
committerJaroslav Kysela <perex@suse.cz>
Mon, 12 Sep 2005 09:12:34 +0000 (11:12 +0200)
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>
36 files changed:
sound/pci/ad1889.c
sound/pci/ali5451/ali5451.c
sound/pci/als4000.c
sound/pci/atiixp.c
sound/pci/atiixp_modem.c
sound/pci/au88x0/au88x0.c
sound/pci/azt3328.c
sound/pci/bt87x.c
sound/pci/cmipci.c
sound/pci/cs4281.c
sound/pci/cs46xx/cs46xx.c
sound/pci/emu10k1/emu10k1x.c
sound/pci/ens1370.c
sound/pci/es1938.c
sound/pci/es1968.c
sound/pci/fm801.c
sound/pci/hda/hda_intel.c
sound/pci/ice1712/ice1712.c
sound/pci/ice1712/ice1724.c
sound/pci/intel8x0.c
sound/pci/intel8x0m.c
sound/pci/korg1212/korg1212.c
sound/pci/maestro3.c
sound/pci/mixart/mixart.c
sound/pci/nm256/nm256.c
sound/pci/rme32.c
sound/pci/rme96.c
sound/pci/rme9652/hdsp.c
sound/pci/rme9652/hdspm.c
sound/pci/rme9652/rme9652.c
sound/pci/sonicvibes.c
sound/pci/trident/trident.c
sound/pci/via82xx.c
sound/pci/via82xx_modem.c
sound/pci/vx222/vx222.c
sound/pci/ymfpci/ymfpci.c

index 8ce9cb4c79703ea1a851838753e7b5a957d5f945..d7d99a25c5e53dffb1ac797c62d8ffac2a9db212 100644 (file)
@@ -50,7 +50,7 @@
 #include "ad1889.h"
 #include "ac97/ac97_id.h"
 
-#define        AD1889_DRVVER   "$Revision: 1.2 $"
+#define        AD1889_DRVVER   "$Revision: 1.3 $"
 
 MODULE_AUTHOR("Kyle McMartin <kyle@parisc-linux.org>, Thibaut Varene <t-bone@parisc-linux.org>");
 MODULE_DESCRIPTION("Analog Devices AD1889 ALSA sound driver");
@@ -1068,6 +1068,7 @@ 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),
index 703770f6a507bbc22976aa7c920d537c1c469657..d683f7736a63b16935a443da3d44803be74cf207 100644 (file)
@@ -2411,6 +2411,7 @@ static void __devexit snd_ali_remove(struct pci_dev *pci)
 
 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),
index ca28b229c704051154ef1a05aae2a485f7234e64..196ec1c61bb4712342055924902863064e8ca200 100644 (file)
@@ -770,6 +770,7 @@ static void __devexit snd_card_als4000_remove(struct pci_dev *pci)
 
 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),
index 874157f2701129b6ccc56c2f51a30e347dfc56a8..241eacf1e6522d086e1eeeceba1e15bc0844681f 100644 (file)
@@ -1645,6 +1645,7 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)
 
 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),
index 4de637e4dd46991ae51fc65d5f051b0b5beebbd4..8a59598167f9cf2e9f7cffca0d375439af666e0f 100644 (file)
@@ -1318,6 +1318,7 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)
 
 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),
index 76b1c30186907b6604451d95db430b50d1e00b26..04b695d6fd4839f7b77cadab3964988fdf058a2d 100644 (file)
@@ -373,6 +373,7 @@ static void __devexit snd_vortex_remove(struct pci_dev *pci)
 // 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),
index 26069d2e02718d70e0e48ce83ac5b5c28f05da4c..d5261bdec583d5fbac6bcfe438d35e8d4ac705c3 100644 (file)
@@ -1511,6 +1511,7 @@ static void __devexit snd_azf3328_remove(struct pci_dev *pci)
 
 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),
index 639f08098f8c6942cb8e7fc43e7337b5ee62144f..2236c958aec01b392ce72e28b1ae64405c24ce3a 100644 (file)
@@ -901,6 +901,7 @@ static struct pci_device_id snd_bt87x_default_ids[] = {
 
 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),
index 583b2713d86235bcdea281783ef1d35ef33aa3d7..1eb3315d136dd2e50bbc0aab0168b32ee7cbf4b3 100644 (file)
@@ -3037,6 +3037,7 @@ static void __devexit snd_cmipci_remove(struct pci_dev *pci)
 
 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),
index 421430bad98967cbac3ae60d4457de349bab43cc..dc87e0144b5adc7fe5b1b452f33e62cf9fbde246 100644 (file)
@@ -2108,6 +2108,7 @@ static int cs4281_resume(snd_card_t *card)
 
 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),
index b9fff4ee6f9dc789db6285c08cf18bf2332b6260..32b4f8465cefb898c2fd107188621eda60109502 100644 (file)
@@ -163,6 +163,7 @@ static void __devexit snd_card_cs46xx_remove(struct pci_dev *pci)
 
 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),
index 8c151af521d7c7bc2009b37c837789ca340f05ae..ad15755a63c35a788bfbfea7323461713cad7f1a 100644 (file)
@@ -1615,6 +1615,7 @@ MODULE_DEVICE_TABLE(pci, snd_emu10k1x_ids);
 // 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),
index a38f7102eccf257fb910b09502b8c2fed8d26fdd..bef9a59f46d7d4d2adfc26fc29a396f9c9eb33c0 100644 (file)
@@ -2387,6 +2387,7 @@ static void __devexit snd_audiopci_remove(struct pci_dev *pci)
 
 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),
index 356c493d93193138fa4c7d68828b29d9e9cec764..17fa80c23870b8631b6b2a40d5269ee0d2d531c9 100644 (file)
@@ -1746,6 +1746,7 @@ static void __devexit snd_es1938_remove(struct pci_dev *pci)
 
 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),
index 10a487a78d68faf27be252232e3f953a6d4ae371..ecdcada90ca25945923a938472e506400344fcd6 100644 (file)
@@ -2763,6 +2763,7 @@ static void __devexit snd_es1968_remove(struct pci_dev *pci)
 
 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),
index aaa41fb480a746135601c9c2ea4f704c84241f75..e5cfa2a0c24639cdf4354e7e2aa30771ec6a63b0 100644 (file)
@@ -1462,6 +1462,7 @@ static void __devexit snd_card_fm801_remove(struct pci_dev *pci)
 
 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),
index 7e0c05936c3e227090c49daaf0c1a7dafd280ccd..9590ece2099dd6e65c3cfbe159c5702ad26b2b55 100644 (file)
@@ -1603,6 +1603,7 @@ 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),
index 7d4d9b0c6b11d6fdc5ace38a11bb0531a0f551fe..a6d98013c331fe95bb69771079b88881eb48839e 100644 (file)
@@ -2735,6 +2735,7 @@ static void __devexit snd_ice1712_remove(struct pci_dev *pci)
 
 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),
index 1e7119acfd401889a281343ac8189482c01a7ddd..c3ce8f93740bb9bc77805eed5455896ec21fa785 100644 (file)
@@ -2315,6 +2315,7 @@ static void __devexit snd_vt1724_remove(struct pci_dev *pci)
 
 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),
index 5975cd580545ed3c9b5f994d33aff1f3cea32a6d..1a96198a17ae618f333691017e3e909293ce1650 100644 (file)
@@ -2864,6 +2864,7 @@ static void __devexit snd_intel8x0_remove(struct pci_dev *pci)
 
 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),
index 38493d77528b36dfa8ac9d5b51d72022d8e1d1d6..9e2060d56c244f3f6a35aa25e550c43805dc2f5b 100644 (file)
@@ -1326,6 +1326,7 @@ static void __devexit snd_intel8x0m_remove(struct pci_dev *pci)
 
 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),
index 5f61536f1127688c627a40645e5e7e617163ecaf..09f9cbe116a38734cea09038d60338b79916320d 100644 (file)
@@ -2534,6 +2534,7 @@ static void __devexit snd_korg1212_remove(struct pci_dev *pci)
 
 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),
index 635531c2aa0619b1ad6170ac7518c1cd84497b50..2693b6f731f3e27c03c1754a12097e2674574ce0 100644 (file)
@@ -2861,6 +2861,7 @@ static void __devexit snd_m3_remove(struct pci_dev *pci)
 
 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),
index 2636d507bdfbf414715245fcdb5fcb03230a4f90..1a62c7f6c52bb396666d8b13693a4a9c7a2cd3a3 100644 (file)
@@ -1424,6 +1424,7 @@ static void __devexit snd_mixart_remove(struct pci_dev *pci)
 
 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),
index b44d56c2dd3d90dac30e6be8aaee239c29e96445..5c55a3b1d121b247c46cd8a5d64274a1631c847f 100644 (file)
@@ -1668,6 +1668,7 @@ static void __devexit snd_nm256_remove(struct pci_dev *pci)
 
 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),
index a511de5a3858e0bd461333bc80edcdab4dd43ed5..3daeecb9eb0e6a0b4a4da6712470354efa7bec7a 100644 (file)
@@ -2012,6 +2012,7 @@ static void __devexit snd_rme32_remove(struct pci_dev *pci)
 
 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),
index 6653c21bfa09587b082b89f155c4374f78a7715e..9983b66dc56448c2600f3f89a9459c7bd7d2744a 100644 (file)
@@ -2413,6 +2413,7 @@ static void __devexit snd_rme96_remove(struct pci_dev *pci)
 
 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),
index e456ccaaaf6736fc8c2b22c3fe786d17be6f7caf..52525eb198c742dcd1f75e0a8970d6c19e3a91b3 100644 (file)
@@ -5216,6 +5216,7 @@ static void __devexit snd_hdsp_remove(struct pci_dev *pci)
 
 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),
index 7c67c028691149430bb6db723e2bdac2f36ae32e..fc3f3283ff37e28ccef26b506a16784cf60f97c3 100644 (file)
@@ -3640,6 +3640,7 @@ static void __devexit snd_hdspm_remove(struct pci_dev *pci)
 
 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),
index da317e8c0857889c21ef42d41618163102103ef3..b600f45e183474aca9b8b9ee2bf7a2881f0c293e 100644 (file)
@@ -2654,6 +2654,7 @@ static void __devexit snd_rme9652_remove(struct pci_dev *pci)
 
 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),
index 57c8ff5f5260e1803dad2ae2f3ac178ba784a088..1f6c2bfd43fdef56faa85973b24e7b70f431d40d 100644 (file)
@@ -1508,6 +1508,7 @@ static void __devexit snd_sonic_remove(struct pci_dev *pci)
 
 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),
index 940d531575c098cd736776420b0b674c45094e3d..a8ca8e17853f3b0142241bd807818c738761da4e 100644 (file)
@@ -177,6 +177,7 @@ static void __devexit snd_trident_remove(struct pci_dev *pci)
 
 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),
index a58f88a552a3b89dab68f380ded1f989c514df6c..6db7de6b9719532c18a9fd9d78a17530f3170090 100644 (file)
@@ -2343,6 +2343,7 @@ static void __devexit snd_via82xx_remove(struct pci_dev *pci)
 
 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),
index e36f538d02fc794c6af95212362fa7521d994dc7..7eac6f6ac737fee70fee677edd319a7123030ca4 100644 (file)
@@ -1207,6 +1207,7 @@ static void __devexit snd_via82xx_remove(struct pci_dev *pci)
 
 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),
index dca6bd2c75806298eeacf5e5468f7141a7141240..2a7ad9dec02175409a54d8f5d2560f6150d2a51a 100644 (file)
@@ -252,6 +252,7 @@ static void __devexit snd_vx222_remove(struct pci_dev *pci)
 
 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),
index 5b5b624b47d0c6623f79c39893de23fe2d9451f8..2e69abe51aa985dbc0947689946a2659d2cd374b 100644 (file)
@@ -352,6 +352,7 @@ static void __devexit snd_card_ymfpci_remove(struct pci_dev *pci)
 
 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),