]> err.no Git - linux-2.6/commit
[ALSA] ASoC: Fix wrong enum count for jack_function in N810 machine driver
authorJarkko Nikula <jarkko.nikula@nokia.com>
Tue, 13 May 2008 14:02:04 +0000 (16:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 May 2008 13:15:58 +0000 (15:15 +0200)
commit3c17279137bf8318438510b48229d4236f773da4
tree33974cf3fbb2b0304c090ad3732c47dc22a2995f
parent392abe9cb36f04ccdda9c96938077b0d43f2b50b
[ALSA] ASoC: Fix wrong enum count for jack_function in N810 machine driver

Fix this typo and avoid similar errors by using ARRAY_SIZE macro.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/omap/n810.c