From: Wei Yongjun Date: Tue, 2 Jul 2013 09:26:00 +0000 (+0800) Subject: ASoC: imx_mc13783: add .owner to struct snd_soc_card X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7464dcd061045e664723acbf6be49e3ff53d97d8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: imx_mc13783: add .owner to struct snd_soc_card Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users. Signed-off-by: Wei Yongjun Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/imx-mc13783.c b/sound/soc/fsl/imx-mc13783.c index 9df173c091a6..a3d60d4bea4c 100644 --- a/sound/soc/fsl/imx-mc13783.c +++ b/sound/soc/fsl/imx-mc13783.c @@ -90,6 +90,7 @@ static const struct snd_soc_dapm_route imx_mc13783_routes[] = { static struct snd_soc_card imx_mc13783 = { .name = "imx_mc13783", + .owner = THIS_MODULE, .dai_link = imx_mc13783_dai_mc13783, .num_links = ARRAY_SIZE(imx_mc13783_dai_mc13783), .dapm_widgets = imx_mc13783_widget,