From 48d66a4e3071e94b33aa9e8827a07028fa59ce54 Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Tue, 14 Jun 2011 12:27:49 -0700 Subject: media: tegra: video: Fix build warnings Fixes "warning: '' defined but not used" messages. Change-Id: Ia4980d0262174cb8f39f9c0f67a9d94ff4be8b97 Reviewed-on: http://git-master/r/36561 Reviewed-by: Varun Colbert Tested-by: Varun Colbert --- drivers/media/video/tegra/ov2710.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/media/video/tegra/ov2710.c b/drivers/media/video/tegra/ov2710.c index 5497b6cf213d..ec507c62b996 100644 --- a/drivers/media/video/tegra/ov2710.c +++ b/drivers/media/video/tegra/ov2710.c @@ -36,6 +36,7 @@ struct ov2710_info { #define OV2710_TABLE_END 1 #define OV2710_MAX_RETRIES 3 +#if 0 static struct ov2710_reg mode_start[] = { {0x3008, 0x82}, /* reset registers pg 72 */ {OV2710_TABLE_WAIT_MS, 5}, @@ -94,6 +95,7 @@ static struct ov2710_reg mode_start[] = { {0x3613, 0x44}, /* analog pg 108 */ {OV2710_TABLE_END, 0x0}, }; +#endif static struct ov2710_reg mode_1920x1080[] = { {0x3103, 0x93}, @@ -290,6 +292,7 @@ static struct ov2710_reg mode_1280x720[] = { {OV2710_TABLE_END, 0x0000} }; +#if 0 static struct ov2710_reg mode_end[] = { {0x3212, 0x00}, /* SRM_GROUP_ACCESS (group hold begin) */ {0x3003, 0x01}, /* reset DVP pg 97 */ @@ -300,6 +303,7 @@ static struct ov2710_reg mode_end[] = { /* {FAST_SETMODE_END, 0}, */ {OV2710_TABLE_END, 0x0000} }; +#endif enum { OV2710_MODE_1920x1080, -- cgit v1.2.3