From: Srinivas Kandagatla Date: Tue, 16 Aug 2022 16:52:29 +0000 (+0100) Subject: ASoC: qcom: sm8250: add missing module owner X-Git-Tag: v5.15.73~404 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=237f16395304b5ab416e2d0b4d945e0dd6973c6a;p=platform%2Fkernel%2Flinux-rpi.git ASoC: qcom: sm8250: add missing module owner [ Upstream commit c6e14bb9f50df7126ca64405ae807d8bc7b39f9a ] Add missing module owner to able to build and load this driver as module. Fixes: aa2e2785545a ("ASoC: qcom: sm8250: add sound card qrb5165-rb5 support") Signed-off-by: Srinivas Kandagatla Link: https://lore.kernel.org/r/20220816165229.7971-1-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c index fe8fd73..e5190aa 100644 --- a/sound/soc/qcom/sm8250.c +++ b/sound/soc/qcom/sm8250.c @@ -191,6 +191,7 @@ static int sm8250_platform_probe(struct platform_device *pdev) if (!card) return -ENOMEM; + card->owner = THIS_MODULE; /* Allocate the private data */ data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL); if (!data)