]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: s6000-i2s: Fix s6000_i2s_remove() return type
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 30 Jun 2014 08:01:37 +0000 (10:01 +0200)
committerMark Brown <broonie@linaro.org>
Fri, 4 Jul 2014 17:57:57 +0000 (18:57 +0100)
commit001eaa25ca8cf4bfdb76fa8f2287b8d34287b9b6
tree51b3324ec8c092ba67bc3a2455a8716f695c85fb
parent7171511eaec5bf23fb06078f59784a3a0626b38f
ASoC: s6000-i2s: Fix s6000_i2s_remove() return type

The platform_driver remove callback return type is int not void.

Fixes the following warning:
sound/soc/s6000/s6000-i2s.c:604:19: warning: incorrect type in initializer (different base types)
sound/soc/s6000/s6000-i2s.c:604:19:    expected int ( *remove )( ... )
sound/soc/s6000/s6000-i2s.c:604:19:    got void ( static [toplevel] *<noident>)( ... )

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/s6000/s6000-i2s.c