summaryrefslogtreecommitdiff
path: root/sound/atmel
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/atmel
parent6887a4131da3adaab011613776d865f4bcfb5678 (diff)
ALSA: Add missing .owner=THIS_MODULE to platform_driver definitions
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/atmel')
-rw-r--r--sound/atmel/abdac.c1
-rw-r--r--sound/atmel/ac97c.c1
2 files changed, 2 insertions, 0 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,