From: lawrence rust Date: Mon, 23 Aug 2010 10:49:58 +0000 (-0300) Subject: V4L/DVB: cx88: convert core->tvaudio into an enum X-Git-Tag: v2.6.37-rc1~64^2~470 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d06b49ed18736d32530067e2cad5a18d3482a2b9;p=pandora-kernel.git V4L/DVB: cx88: convert core->tvaudio into an enum Using an enum and removing the default case from switch statements accessing the value enables the compiler to emit a warning (enabled with -Wall) when an audio mode is not handled. This highlights an omission in the function cx88_dsp_detect_stereo_sap() (in cx88-dsp.c) not handling WW_EIAJ and WW_M. Signed-off-by: Lawrence Rust Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed