V4L/DVB (11084): au0828: add entry for undefined input type
authorDevin Heitmueller <dheitmueller@linuxtv.org>
Sun, 15 Mar 2009 20:48:26 +0000 (17:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:27 +0000 (12:43 -0300)
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>
drivers/media/video/au0828/au0828-video.c

index e7b2733ba86ee65c71558f03c7744fd9d84aaf52..800345cbe0efd080841ebfb0ef24132156b2579d 100644 (file)
@@ -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",