OSDN Git Service

[media] v4l: vs6624: Fix warning due to unused function
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 29 Nov 2013 23:01:34 +0000 (20:01 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 10 Dec 2013 18:03:36 +0000 (16:03 -0200)
commit7b2f25c0b073479fa1afea3ae65dd9d9f0da5586
treeab40f53f8dc3c07da69fb67772a8e8a38a219439
parentcdfe3e352b6d93d74a46453d28138e5a5bc95aee
[media] v4l: vs6624: Fix warning due to unused function

vs6624_read() is only called in the conditionally-compiled
vs6624_g_register() function. Make the former conditionally-compiled as
well to silence build warnings.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/vs6624.c