diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-06-14 12:27:49 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-07-08 22:53:43 -0700 |
commit | 48d66a4e3071e94b33aa9e8827a07028fa59ce54 (patch) | |
tree | 0d75d17856012a7f46fbad32795d399361826e35 /drivers/media/video/tegra | |
parent | 91ba8c6ec3a8a9556826ed4d6a6eff1181be43d6 (diff) |
media: tegra: video: Fix build warnings
Fixes "warning: '<variable>' defined but not used" messages.
Change-Id: Ia4980d0262174cb8f39f9c0f67a9d94ff4be8b97
Reviewed-on: http://git-master/r/36561
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers/media/video/tegra')
-rw-r--r-- | drivers/media/video/tegra/ov2710.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, |