summaryrefslogtreecommitdiff
path: root/sound/drivers/virmidi.c
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/drivers/virmidi.c
parent6887a4131da3adaab011613776d865f4bcfb5678 (diff)
ALSA: Add missing .owner=THIS_MODULE to platform_driver definitions
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/virmidi.c')
-rw-r--r--sound/drivers/virmidi.c3
1 files changed, 2 insertions, 1 deletions
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,
},
};