ASoC: atmel: Add .owner to struct snd_soc_card
authorAxel Lin <axel.lin@gmail.com>
Thu, 22 Dec 2011 13:14:58 +0000 (21:14 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 22 Dec 2011 17:34:33 +0000 (17:34 +0000)
commit338d68db77aaf90eea9e06517272b7d7a83d95a4
tree53ebe00f4c17c0d91d2b166da7d5366edbc1b52d
parent4c3c5df05e02bfa774517cebc5b91b07c2a365dc
ASoC: atmel: Add .owner to struct snd_soc_card

Missed .owner of struct snd_soc_card will prevent the module from being
removed from underneath its users.

Reported-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/atmel/sam9g20_wm8731.c
sound/soc/atmel/snd-soc-afeb9260.c