From: Guennadi Liakhovetski Date: Thu, 28 Jul 2011 21:29:01 +0000 (-0300) Subject: [media] sh: migor: remove unused ov772x buswidth flag X-Git-Tag: v3.2-rc2~15^2~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb626371f872070e7fb4ee9caa7bc873c3ceec55;p=platform%2Fkernel%2Flinux-exynos.git [media] sh: migor: remove unused ov772x buswidth flag The ov772x driver only supports 8 bits per sample pixel codes, hence the OV772X_FLAG_8BIT flag has no effect. Remove it. Signed-off-by: Guennadi Liakhovetski Acked-by: Magnus Damm Signed-off-by: Mauro Carvalho Chehab --- diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 2d4c9c8..e4c8119 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c @@ -448,9 +448,7 @@ static struct i2c_board_info migor_i2c_camera[] = { }, }; -static struct ov772x_camera_info ov7725_info = { - .flags = OV772X_FLAG_8BIT, -}; +static struct ov772x_camera_info ov7725_info; static struct soc_camera_link ov7725_link = { .power = ov7725_power,