aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/mc13783.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/codecs/mc13783.c b/sound/soc/codecs/mc13783.c
index bae60164c7b7..8ab966860224 100644
--- a/sound/soc/codecs/mc13783.c
+++ b/sound/soc/codecs/mc13783.c
@@ -750,7 +750,7 @@ static struct snd_soc_codec_driver soc_codec_dev_mc13783 = {
750 .num_dapm_routes = ARRAY_SIZE(mc13783_routes), 750 .num_dapm_routes = ARRAY_SIZE(mc13783_routes),
751}; 751};
752 752
753static int mc13783_codec_probe(struct platform_device *pdev) 753static int __init mc13783_codec_probe(struct platform_device *pdev)
754{ 754{
755 struct mc13xxx *mc13xxx; 755 struct mc13xxx *mc13xxx;
756 struct mc13783_priv *priv; 756 struct mc13783_priv *priv;
@@ -804,11 +804,9 @@ static struct platform_driver mc13783_codec_driver = {
804 .name = "mc13783-codec", 804 .name = "mc13783-codec",
805 .owner = THIS_MODULE, 805 .owner = THIS_MODULE,
806 }, 806 },
807 .probe = mc13783_codec_probe,
808 .remove = mc13783_codec_remove, 807 .remove = mc13783_codec_remove,
809}; 808};
810 809module_platform_driver_probe(mc13783_codec_driver, mc13783_codec_probe);
811module_platform_driver(mc13783_codec_driver);
812 810
813MODULE_DESCRIPTION("ASoC MC13783 driver"); 811MODULE_DESCRIPTION("ASoC MC13783 driver");
814MODULE_AUTHOR("Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>"); 812MODULE_AUTHOR("Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>");