ALSA: ASoC: Fix compile warnings on corgi.c
authorTakashi Iwai <tiwai@suse.de>
Mon, 1 Dec 2008 19:00:47 +0000 (20:00 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Dec 2008 19:00:47 +0000 (20:00 +0100)
commit5220ed6b321639d68a66bad2082456c1b273f3ea
tree660e4231d24eb73ba487e5f8431bed8b7fb93c16
parent0bc286e2ac72e483d2b5a6dac0dafb05e9f047c8
ALSA: ASoC: Fix compile warnings on corgi.c

Fix the wrong shutdown callback type.  Also removed the unused variables
there:

  sound/soc/pxa/corgi.c: In function 'corgi_shutdown':
  sound/soc/pxa/corgi.c:114: warning: unused variable 'codec'
  sound/soc/pxa/corgi.c: At top level:
  sound/soc/pxa/corgi.c:175: warning: initialization from incompatible pointer type

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/pxa/corgi.c