浏览代码

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>
Devin Heitmueller 16 年之前
父节点
当前提交
3d62287e2c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/media/video/au0828/au0828-video.c

+ 1 - 0
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",