ASoC: qcom: sm8250: add missing module owner
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 16 Aug 2022 16:52:29 +0000 (17:52 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 17 Aug 2022 12:00:15 +0000 (13:00 +0100)
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 <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220816165229.7971-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sm8250.c

index ce4a571..98a2fde 100644 (file)
@@ -270,6 +270,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)