projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c54c15
)
ASoC: Make SMDK WM8580 driver unloadable
author
Mark Brown
<
[email protected]
>
Wed, 24 Nov 2010 17:18:45 +0000
(17:18 +0000)
committer
Mark Brown
<
[email protected]
>
Thu, 25 Nov 2010 11:17:48 +0000
(11:17 +0000)
Supply a module exit function so that the driver can be unloaded.
Signed-off-by: Mark Brown <
[email protected]
>
Acked-by: Jassi Brar <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
sound/soc/samsung/smdk_wm8580.c
patch
|
blob
|
history
diff --git
a/sound/soc/samsung/smdk_wm8580.c
b/sound/soc/samsung/smdk_wm8580.c
index 0ae3d57d79e650064973c38c3ba3f65ef6f1c3ab..e2d56b9bac5aa276edc1ac0450eb289ab1d8c6c7 100644
(file)
--- a/
sound/soc/samsung/smdk_wm8580.c
+++ b/
sound/soc/samsung/smdk_wm8580.c
@@
-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,
[email protected]
");
MODULE_DESCRIPTION("ALSA SoC SMDK WM8580");
MODULE_LICENSE("GPL");