Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b344ce8 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: kirkwood: 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.

Reported-by: default avatarLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e181d14a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ static struct snd_soc_dai_link openrd_client_dai[] = {

static struct snd_soc_card openrd_client = {
	.name = "OpenRD Client",
	.owner = THIS_MODULE,
	.dai_link = openrd_client_dai,
	.num_links = ARRAY_SIZE(openrd_client_dai),
};
+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ static struct snd_soc_dai_link t5325_dai[] = {

static struct snd_soc_card t5325 = {
	.name = "t5325",
	.owner = THIS_MODULE,
	.dai_link = t5325_dai,
	.num_links = ARRAY_SIZE(t5325_dai),
};