summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-15 21:48:26 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:43:27 +0200
commit3d62287e2c6c5b3351e04dd2c2209b2536995fdb (patch)
treeb15f6cdafd0ca7511e34576d086ae57f884b5a03
parentV4L/DVB (11083): au0828: remove some unneeded braces (diff)
downloadlinux-3d62287e2c6c5b3351e04dd2c2209b2536995fdb.tar.xz
linux-3d62287e2c6c5b3351e04dd2c2209b2536995fdb.zip
V4L/DVB (11084): au0828: add entry for undefined input type
For the sake of completeness, include the "undefined" input type enumeration, even though there is no path that can actually call it. Thanks to Mauro Carvalho Chehab <mchehab@infradead.org> for pointing this out. Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/au0828/au0828-video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/au0828/au0828-video.c b/drivers/media/video/au0828/au0828-video.c
index e7b2733ba86e..800345cbe0ef 100644
--- a/drivers/media/video/au0828/au0828-video.c
+++ b/drivers/media/video/au0828/au0828-video.c
@@ -1121,6 +1121,7 @@ static int vidioc_enum_input(struct file *file, void *priv,
unsigned int tmp;
static const char *inames[] = {
+ [AU0828_VMUX_UNDEFINED] = "Undefined",
[AU0828_VMUX_COMPOSITE] = "Composite",
[AU0828_VMUX_SVIDEO] = "S-Video",
[AU0828_VMUX_CABLE] = "Cable TV",