From: Mauro Carvalho Chehab Date: Thu, 19 Mar 2009 22:26:23 +0000 (-0300) Subject: V4L/DVB (11109): au0828: Fix compilation when VIDEO_ADV_DEBUG = n X-Git-Tag: v2.6.30-rc1~621^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80c6e358c1b6da0b9aa97e10c82317b7104821bb;p=pandora-kernel.git V4L/DVB (11109): au0828: Fix compilation when VIDEO_ADV_DEBUG = n As reported by Kyle McMartin and Randy Dunlap: drivers/media/video/au0828/au0828-video.c:1438: error: 'const struct v4l2_subdev_core_ops' has no member named 'g_register' drivers/media/video/au0828/au0828-video.c:1453: error: 'const struct v4l2_subdev_core_ops' has no member named 's_register' This patch properly implements those two API ioctls only when debug is enabled. Cc: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed