ALSA: Add missing .owner=THIS_MODULE to platform_driver definitions

Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
Takashi Iwai 2012-07-02 10:50:24 +02:00
commit 8bf01d8abc
13 changed files with 24 additions and 10 deletions

View file

@ -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)

View file

@ -438,6 +438,7 @@ static struct platform_driver sh_dac_driver = {
.remove = snd_sh_dac_remove,
.driver = {
.name = "dac_audio",
.owner = THIS_MODULE,
},
};