diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-07-02 10:50:24 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-02 17:50:05 +0200 |
commit | 8bf01d8abc55eaf8e19a2d48911c8e49ee6f5bab (patch) | |
tree | dc3132542b15d3cbc9f573801b730afb02d6c346 /sound | |
parent | 6887a4131da3adaab011613776d865f4bcfb5678 (diff) | |
download | linux-8bf01d8abc55eaf8e19a2d48911c8e49ee6f5bab.tar.bz2 |
ALSA: Add missing .owner=THIS_MODULE to platform_driver definitions
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-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 = { .remove = __devexit_p(atmel_abdac_remove), .driver = { .name = "atmel_abdac", + .owner = THIS_MODULE, }, .suspend = atmel_abdac_suspend, .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 = { .remove = __devexit_p(atmel_ac97c_remove), .driver = { .name = "atmel_ac97c", + .owner = THIS_MODULE, }, .suspend = atmel_ac97c_suspend, .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 = { .resume = loopback_resume, #endif .driver = { - .name = SND_LOOPBACK_DRIVER + .name = SND_LOOPBACK_DRIVER, + .owner = THIS_MODULE, }, }; 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 = { .resume = snd_dummy_resume, #endif .driver = { - .name = SND_DUMMY_DRIVER + .name = SND_DUMMY_DRIVER, + .owner = THIS_MODULE, }, }; 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 = { .probe = snd_mpu401_probe, .remove = __devexit_p(snd_mpu401_remove), .driver = { - .name = SND_MPU401_DRIVER + .name = SND_MPU401_DRIVER, + .owner = THIS_MODULE, }, }; 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 = { .probe = snd_mtpav_probe, .remove = __devexit_p(snd_mtpav_remove), .driver = { - .name = SND_MTPAV_DRIVER + .name = SND_MTPAV_DRIVER, + .owner = THIS_MODULE, }, }; 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 = { .probe = snd_mts64_probe, .remove = __devexit_p(snd_mts64_remove), .driver = { - .name = PLATFORM_DRIVER + .name = PLATFORM_DRIVER, + .owner = THIS_MODULE, } }; 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 = { .probe = snd_portman_probe, .remove = __devexit_p(snd_portman_remove), .driver = { - .name = PLATFORM_DRIVER + .name = PLATFORM_DRIVER, + .owner = THIS_MODULE, } }; 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 = { .probe = snd_serial_probe, .remove = __devexit_p( snd_serial_remove), .driver = { - .name = SND_SERIAL_DRIVER + .name = SND_SERIAL_DRIVER, + .owner = THIS_MODULE, }, }; 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 = { .probe = snd_virmidi_probe, .remove = __devexit_p(snd_virmidi_remove), .driver = { - .name = SND_VIRMIDI_DRIVER + .name = SND_VIRMIDI_DRIVER, + .owner = THIS_MODULE, }, }; 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 = { .resume = snd_pmac_driver_resume, #endif .driver = { - .name = SND_PMAC_DRIVER + .name = SND_PMAC_DRIVER, + .owner = THIS_MODULE, }, }; 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 = { .probe = snd_aica_probe, .remove = __devexit_p(snd_aica_remove), .driver = { - .name = SND_AICA_DRIVER}, + .name = SND_AICA_DRIVER, + .owner = THIS_MODULE, + }, }; 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 = { .remove = snd_sh_dac_remove, .driver = { .name = "dac_audio", + .owner = THIS_MODULE, }, }; |