summaryrefslogtreecommitdiffstats
path: root/sound/sh
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-07-02 10:50:24 +0200
committerTakashi Iwai <tiwai@suse.de>2012-07-02 17:50:05 +0200
commit8bf01d8abc55eaf8e19a2d48911c8e49ee6f5bab (patch)
treedc3132542b15d3cbc9f573801b730afb02d6c346 /sound/sh
parent6887a4131da3adaab011613776d865f4bcfb5678 (diff)
downloadlinux-8bf01d8abc55eaf8e19a2d48911c8e49ee6f5bab.tar.gz
linux-8bf01d8abc55eaf8e19a2d48911c8e49ee6f5bab.tar.bz2
linux-8bf01d8abc55eaf8e19a2d48911c8e49ee6f5bab.zip
ALSA: Add missing .owner=THIS_MODULE to platform_driver definitions
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh')
-rw-r--r--sound/sh/aica.c4
-rw-r--r--sound/sh/sh_dac_audio.c1
2 files changed, 4 insertions, 1 deletions
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,
},
};