diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-22 04:08:59 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@ti.com> | 2011-12-23 19:13:01 +0100 |
commit | b425b88418e302caf27e9cf44aa987b83c04cb2d (patch) | |
tree | 1566618f56953e501b0aa5067510a4ddde63cd45 /sound/soc/omap/osk5912.c | |
parent | ASoC: Add trivial pm_runtime usage to Samsung DAI drivers (diff) | |
download | linux-b425b88418e302caf27e9cf44aa987b83c04cb2d.tar.xz linux-b425b88418e302caf27e9cf44aa987b83c04cb2d.zip |
ASoC: omap: 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>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/omap/osk5912.c')
-rw-r--r-- | sound/soc/omap/osk5912.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/omap/osk5912.c b/sound/soc/omap/osk5912.c index 351ec9db384d..d859b597e7ec 100644 --- a/sound/soc/omap/osk5912.c +++ b/sound/soc/omap/osk5912.c @@ -108,6 +108,7 @@ static struct snd_soc_dai_link osk_dai = { /* Audio machine driver */ static struct snd_soc_card snd_soc_card_osk = { .name = "OSK5912", + .owner = THIS_MODULE, .dai_link = &osk_dai, .num_links = 1, |