diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-07-02 04:50:24 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-02 11:50:05 -0400 |
commit | 8bf01d8abc55eaf8e19a2d48911c8e49ee6f5bab (patch) | |
tree | dc3132542b15d3cbc9f573801b730afb02d6c346 | |
parent | 6887a4131da3adaab011613776d865f4bcfb5678 (diff) |
ALSA: Add missing .owner=THIS_MODULE to platform_driver definitions
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/atmel/abdac.c | 1 | ||||
-rw-r--r-- | sound/atmel/ac97c.c | 1 | ||||
-rw-r--r-- | sound/drivers/aloop.c | 3 | ||||
-rw-r--r-- | sound/drivers/dummy.c | 3 | ||||
-rw-r--r-- | sound/drivers/mpu401/mpu401.c | 3 | ||||
-rw-r--r-- | sound/drivers/mtpav.c | 3 | ||||
-rw-r--r-- | sound/drivers/mts64.c | 3 | ||||
-rw-r--r-- | sound/drivers/portman2x4.c | 3 | ||||
-rw-r--r-- | sound/drivers/serial-u16550.c | 3 | ||||
-rw-r--r-- | sound/drivers/virmidi.c | 3 | ||||
-rw-r--r-- | sound/ppc/powermac.c | 3 | ||||
-rw-r--r-- | sound/sh/aica.c | 4 | ||||
-rw-r--r-- | sound/sh/sh_dac_audio.c | 1 |
13 files changed, 24 insertions, 10 deletions
diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c index f7c2bb08055d..2e866398bffe 100644 --- a/sound/atmel/abdac.c +++ b/sound/atmel/abdac.c | |||
@@ -589,6 +589,7 @@ static struct platform_driver atmel_abdac_driver = { | |||
589 | .remove = __devexit_p(atmel_abdac_remove), | 589 | .remove = __devexit_p(atmel_abdac_remove), |
590 | .driver = { | 590 | .driver = { |
591 | .name = "atmel_abdac", | 591 | .name = "atmel_abdac", |
592 | .owner = THIS_MODULE, | ||
592 | }, | 593 | }, |
593 | .suspend = atmel_abdac_suspend, | 594 | .suspend = atmel_abdac_suspend, |
594 | .resume = atmel_abdac_resume, | 595 | .resume = atmel_abdac_resume, |
diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c index f5ded640b395..3d0ea82ff068 100644 --- a/sound/atmel/ac97c.c +++ b/sound/atmel/ac97c.c | |||
@@ -1210,6 +1210,7 @@ static struct platform_driver atmel_ac97c_driver = { | |||
1210 | .remove = __devexit_p(atmel_ac97c_remove), | 1210 | .remove = __devexit_p(atmel_ac97c_remove), |
1211 | .driver = { | 1211 | .driver = { |
1212 | .name = "atmel_ac97c", | 1212 | .name = "atmel_ac97c", |
1213 | .owner = THIS_MODULE, | ||
1213 | }, | 1214 | }, |
1214 | .suspend = atmel_ac97c_suspend, | 1215 | .suspend = atmel_ac97c_suspend, |
1215 | .resume = atmel_ac97c_resume, | 1216 | .resume = atmel_ac97c_resume, |
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 8b5c36f4d303..3484411bd5e6 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c | |||
@@ -1209,7 +1209,8 @@ static struct platform_driver loopback_driver = { | |||
1209 | .resume = loopback_resume, | 1209 | .resume = loopback_resume, |
1210 | #endif | 1210 | #endif |
1211 | .driver = { | 1211 | .driver = { |
1212 | .name = SND_LOOPBACK_DRIVER | 1212 | .name = SND_LOOPBACK_DRIVER, |
1213 | .owner = THIS_MODULE, | ||
1213 | }, | 1214 | }, |
1214 | }; | 1215 | }; |
1215 | 1216 | ||
diff --git a/sound/drivers/dummy.c b/sound/drivers/dummy.c index ad9434fd6370..bc79c441a8f2 100644 --- a/sound/drivers/dummy.c +++ b/sound/drivers/dummy.c | |||
@@ -1094,7 +1094,8 @@ static struct platform_driver snd_dummy_driver = { | |||
1094 | .resume = snd_dummy_resume, | 1094 | .resume = snd_dummy_resume, |
1095 | #endif | 1095 | #endif |
1096 | .driver = { | 1096 | .driver = { |
1097 | .name = SND_DUMMY_DRIVER | 1097 | .name = SND_DUMMY_DRIVER, |
1098 | .owner = THIS_MODULE, | ||
1098 | }, | 1099 | }, |
1099 | }; | 1100 | }; |
1100 | 1101 | ||
diff --git a/sound/drivers/mpu401/mpu401.c b/sound/drivers/mpu401/mpu401.c index 86f5fbc2da72..bc03a2046c9c 100644 --- a/sound/drivers/mpu401/mpu401.c +++ b/sound/drivers/mpu401/mpu401.c | |||
@@ -139,7 +139,8 @@ static struct platform_driver snd_mpu401_driver = { | |||
139 | .probe = snd_mpu401_probe, | 139 | .probe = snd_mpu401_probe, |
140 | .remove = __devexit_p(snd_mpu401_remove), | 140 | .remove = __devexit_p(snd_mpu401_remove), |
141 | .driver = { | 141 | .driver = { |
142 | .name = SND_MPU401_DRIVER | 142 | .name = SND_MPU401_DRIVER, |
143 | .owner = THIS_MODULE, | ||
143 | }, | 144 | }, |
144 | }; | 145 | }; |
145 | 146 | ||
diff --git a/sound/drivers/mtpav.c b/sound/drivers/mtpav.c index 76930793fb69..cad73af3860c 100644 --- a/sound/drivers/mtpav.c +++ b/sound/drivers/mtpav.c | |||
@@ -759,7 +759,8 @@ static struct platform_driver snd_mtpav_driver = { | |||
759 | .probe = snd_mtpav_probe, | 759 | .probe = snd_mtpav_probe, |
760 | .remove = __devexit_p(snd_mtpav_remove), | 760 | .remove = __devexit_p(snd_mtpav_remove), |
761 | .driver = { | 761 | .driver = { |
762 | .name = SND_MTPAV_DRIVER | 762 | .name = SND_MTPAV_DRIVER, |
763 | .owner = THIS_MODULE, | ||
763 | }, | 764 | }, |
764 | }; | 765 | }; |
765 | 766 | ||
diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c index 621e60e2029f..2d5514b0a290 100644 --- a/sound/drivers/mts64.c +++ b/sound/drivers/mts64.c | |||
@@ -1040,7 +1040,8 @@ static struct platform_driver snd_mts64_driver = { | |||
1040 | .probe = snd_mts64_probe, | 1040 | .probe = snd_mts64_probe, |
1041 | .remove = __devexit_p(snd_mts64_remove), | 1041 | .remove = __devexit_p(snd_mts64_remove), |
1042 | .driver = { | 1042 | .driver = { |
1043 | .name = PLATFORM_DRIVER | 1043 | .name = PLATFORM_DRIVER, |
1044 | .owner = THIS_MODULE, | ||
1044 | } | 1045 | } |
1045 | }; | 1046 | }; |
1046 | 1047 | ||
diff --git a/sound/drivers/portman2x4.c b/sound/drivers/portman2x4.c index 3e32bd3d95d9..8364855ed14f 100644 --- a/sound/drivers/portman2x4.c +++ b/sound/drivers/portman2x4.c | |||
@@ -829,7 +829,8 @@ static struct platform_driver snd_portman_driver = { | |||
829 | .probe = snd_portman_probe, | 829 | .probe = snd_portman_probe, |
830 | .remove = __devexit_p(snd_portman_remove), | 830 | .remove = __devexit_p(snd_portman_remove), |
831 | .driver = { | 831 | .driver = { |
832 | .name = PLATFORM_DRIVER | 832 | .name = PLATFORM_DRIVER, |
833 | .owner = THIS_MODULE, | ||
833 | } | 834 | } |
834 | }; | 835 | }; |
835 | 836 | ||
diff --git a/sound/drivers/serial-u16550.c b/sound/drivers/serial-u16550.c index b2d0e8e49bed..86700671d1ac 100644 --- a/sound/drivers/serial-u16550.c +++ b/sound/drivers/serial-u16550.c | |||
@@ -995,7 +995,8 @@ static struct platform_driver snd_serial_driver = { | |||
995 | .probe = snd_serial_probe, | 995 | .probe = snd_serial_probe, |
996 | .remove = __devexit_p( snd_serial_remove), | 996 | .remove = __devexit_p( snd_serial_remove), |
997 | .driver = { | 997 | .driver = { |
998 | .name = SND_SERIAL_DRIVER | 998 | .name = SND_SERIAL_DRIVER, |
999 | .owner = THIS_MODULE, | ||
999 | }, | 1000 | }, |
1000 | }; | 1001 | }; |
1001 | 1002 | ||
diff --git a/sound/drivers/virmidi.c b/sound/drivers/virmidi.c index 9d97478a18b3..d7d514df9058 100644 --- a/sound/drivers/virmidi.c +++ b/sound/drivers/virmidi.c | |||
@@ -142,7 +142,8 @@ static struct platform_driver snd_virmidi_driver = { | |||
142 | .probe = snd_virmidi_probe, | 142 | .probe = snd_virmidi_probe, |
143 | .remove = __devexit_p(snd_virmidi_remove), | 143 | .remove = __devexit_p(snd_virmidi_remove), |
144 | .driver = { | 144 | .driver = { |
145 | .name = SND_VIRMIDI_DRIVER | 145 | .name = SND_VIRMIDI_DRIVER, |
146 | .owner = THIS_MODULE, | ||
146 | }, | 147 | }, |
147 | }; | 148 | }; |
148 | 149 | ||
diff --git a/sound/ppc/powermac.c b/sound/ppc/powermac.c index 5a4e263b5b0f..aef54beaf8b7 100644 --- a/sound/ppc/powermac.c +++ b/sound/ppc/powermac.c | |||
@@ -169,7 +169,8 @@ static struct platform_driver snd_pmac_driver = { | |||
169 | .resume = snd_pmac_driver_resume, | 169 | .resume = snd_pmac_driver_resume, |
170 | #endif | 170 | #endif |
171 | .driver = { | 171 | .driver = { |
172 | .name = SND_PMAC_DRIVER | 172 | .name = SND_PMAC_DRIVER, |
173 | .owner = THIS_MODULE, | ||
173 | }, | 174 | }, |
174 | }; | 175 | }; |
175 | 176 | ||
diff --git a/sound/sh/aica.c b/sound/sh/aica.c index 391a38ca58bc..d48b523207eb 100644 --- a/sound/sh/aica.c +++ b/sound/sh/aica.c | |||
@@ -654,7 +654,9 @@ static struct platform_driver snd_aica_driver = { | |||
654 | .probe = snd_aica_probe, | 654 | .probe = snd_aica_probe, |
655 | .remove = __devexit_p(snd_aica_remove), | 655 | .remove = __devexit_p(snd_aica_remove), |
656 | .driver = { | 656 | .driver = { |
657 | .name = SND_AICA_DRIVER}, | 657 | .name = SND_AICA_DRIVER, |
658 | .owner = THIS_MODULE, | ||
659 | }, | ||
658 | }; | 660 | }; |
659 | 661 | ||
660 | static int __init aica_init(void) | 662 | static int __init aica_init(void) |
diff --git a/sound/sh/sh_dac_audio.c b/sound/sh/sh_dac_audio.c index f8b01c77b298..0a3394751ed2 100644 --- a/sound/sh/sh_dac_audio.c +++ b/sound/sh/sh_dac_audio.c | |||
@@ -438,6 +438,7 @@ static struct platform_driver sh_dac_driver = { | |||
438 | .remove = snd_sh_dac_remove, | 438 | .remove = snd_sh_dac_remove, |
439 | .driver = { | 439 | .driver = { |
440 | .name = "dac_audio", | 440 | .name = "dac_audio", |
441 | .owner = THIS_MODULE, | ||
441 | }, | 442 | }, |
442 | }; | 443 | }; |
443 | 444 | ||