aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/lgdt3302.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@m1k.net>2005-07-27 14:45:56 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 19:26:16 -0400
commit723d52e6a6391e8c4954dca0a7efd3645181981f (patch)
tree6d282e5d4ba092001858e5e3b42e8cbc7d68fedc /drivers/media/dvb/frontends/lgdt3302.c
parent0ccef6dbb08770bf21ffc82094c2117bd7977ff8 (diff)
[PATCH] lgdt3302: warning fix
warning: `i2c_readbytes' defined but not used This code will either be re-enabled or deleted in a future patch. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/frontends/lgdt3302.c')
-rw-r--r--drivers/media/dvb/frontends/lgdt3302.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/lgdt3302.c b/drivers/media/dvb/frontends/lgdt3302.c
index c803c05002ad..c3b8d4e080bb 100644
--- a/drivers/media/dvb/frontends/lgdt3302.c
+++ b/drivers/media/dvb/frontends/lgdt3302.c
@@ -94,6 +94,7 @@ static int i2c_writebytes (struct lgdt3302_state* state,
94 return 0; 94 return 0;
95} 95}
96 96
97#if 0
97static int i2c_readbytes (struct lgdt3302_state* state, 98static int i2c_readbytes (struct lgdt3302_state* state,
98 u8 addr, /* demod_address or pll_address */ 99 u8 addr, /* demod_address or pll_address */
99 u8 *buf, /* holds data bytes read */ 100 u8 *buf, /* holds data bytes read */
@@ -109,6 +110,7 @@ static int i2c_readbytes (struct lgdt3302_state* state,
109 } 110 }
110 return 0; 111 return 0;
111} 112}
113#endif
112 114
113/* 115/*
114 * This routine writes the register (reg) to the demod bus 116 * This routine writes the register (reg) to the demod bus