aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-utils.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-28 05:57:54 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-28 07:09:06 -0400
commitfb257897bf20c5f0e1df584bb5b874e811651263 (patch)
tree0520b2e248d18ccfeb7c663fc9fd306ad264e899 /sound/soc/soc-utils.c
parent6be449e53dc3593ec69308d972a9fab852fb9bf1 (diff)
ASoC: Work around allmodconfig failure
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/soc-utils.c')
-rw-r--r--sound/soc/soc-utils.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index 286579140882..ec921ec99c26 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -82,7 +82,7 @@ static struct platform_driver soc_dummy_driver = {
82 82
83static struct platform_device *soc_dummy_dev; 83static struct platform_device *soc_dummy_dev;
84 84
85static int __init snd_soc_util_init(void) 85int __init snd_soc_util_init(void)
86{ 86{
87 int ret; 87 int ret;
88 88
@@ -102,11 +102,9 @@ static int __init snd_soc_util_init(void)
102 102
103 return ret; 103 return ret;
104} 104}
105module_init(snd_soc_util_init);
106 105
107static void __exit snd_soc_util_exit(void) 106void __exit snd_soc_util_exit(void)
108{ 107{
109 platform_device_unregister(soc_dummy_dev); 108 platform_device_unregister(soc_dummy_dev);
110 platform_driver_unregister(&soc_dummy_driver); 109 platform_driver_unregister(&soc_dummy_driver);
111} 110}
112module_exit(snd_soc_util_exit);