ASoC: qcom: sm8250: add missing module owner

[ Upstream commit c6e14bb9f5 ]

Add missing module owner to able to build and load this driver as module.

Fixes: aa2e278554 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Srinivas Kandagatla 2022-08-16 17:52:29 +01:00 коммит произвёл Greg Kroah-Hartman
Родитель 3bf4bf5406
Коммит 237f163953
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -191,6 +191,7 @@ static int sm8250_platform_probe(struct platform_device *pdev)
if (!card) if (!card)
return -ENOMEM; return -ENOMEM;
card->owner = THIS_MODULE;
/* Allocate the private data */ /* Allocate the private data */
data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL); data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL);
if (!data) if (!data)