Skip to content

Commit

Permalink
ASoC: Make SMDK WM8580 driver unloadable
Browse files Browse the repository at this point in the history
Supply a module exit function so that the driver can be unloaded.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Mark Brown committed Nov 25, 2010
1 parent 2c54c15 commit 3853369
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sound/soc/samsung/smdk_wm8580.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,12 @@ static int __init smdk_audio_init(void)
}
module_init(smdk_audio_init);

static void __exit smdk_audio_exit(void)
{
platform_device_unregister(smdk_snd_device);
}
module_exit(smdk_audio_exit);

MODULE_AUTHOR("Jaswinder Singh, jassi.brar@samsung.com");
MODULE_DESCRIPTION("ALSA SoC SMDK WM8580");
MODULE_LICENSE("GPL");

0 comments on commit 3853369

Please sign in to comment.