ASoC: pxa: Add .owner to struct snd_soc_card
Missed .owner of struct snd_soc_card will prevent the module from being removed from underneath its users. Reported-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -249,6 +249,7 @@ static int zylonite_resume_pre(struct snd_soc_card *card)
|
||||
|
||||
static struct snd_soc_card zylonite = {
|
||||
.name = "Zylonite",
|
||||
.owner = THIS_MODULE,
|
||||
.probe = &zylonite_probe,
|
||||
.remove = &zylonite_remove,
|
||||
.suspend_post = &zylonite_suspend_post,
|
||||
|
Reference in New Issue
Block a user