diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-09-30 22:17:37 -0300 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-01 11:47:38 +0100 |
commit | 4fa8dbc18e8a57ea21c63103abdea042ab923202 (patch) | |
tree | 564164551ee7df4dedee17e34c36e0bf4bd80584 /sound/soc/fsl/imx-sgtl5000.c | |
parent | e8f00c1b01c8b547bd1e11754634ce1913c7cc72 (diff) | |
download | op-kernel-dev-4fa8dbc18e8a57ea21c63103abdea042ab923202.zip op-kernel-dev-4fa8dbc18e8a57ea21c63103abdea042ab923202.tar.gz |
ASoC: fsl: imx-sgtl5000: Add .remove back
Commit e8f00c1b01 (Merge remote-tracking branch 'asoc/fix/fsl' into asoc-devm)
fixed a conflict, but missed to add the .remove function back,which causes the
following build warning:
sound/soc/fsl/imx-sgtl5000.c:185:12: warning: 'imx_sgtl5000_remove' defined but not used [-Wunused-function]
Fix the warning by adding the .remove function back.
Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/imx-sgtl5000.c')
-rw-r--r-- | sound/soc/fsl/imx-sgtl5000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c index 6f4bdc8..ed6ba1e 100644 --- a/sound/soc/fsl/imx-sgtl5000.c +++ b/sound/soc/fsl/imx-sgtl5000.c @@ -204,6 +204,7 @@ static struct platform_driver imx_sgtl5000_driver = { .of_match_table = imx_sgtl5000_dt_ids, }, .probe = imx_sgtl5000_probe, + .remove = imx_sgtl5000_remove, }; module_platform_driver(imx_sgtl5000_driver); |