Commit 723d52e6 authored by Michael Krufky's avatar Michael Krufky Committed by Linus Torvalds

[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: default avatarMichael Krufky <mkrufky@m1k.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0ccef6db
...@@ -94,6 +94,7 @@ static int i2c_writebytes (struct lgdt3302_state* state, ...@@ -94,6 +94,7 @@ static int i2c_writebytes (struct lgdt3302_state* state,
return 0; return 0;
} }
#if 0
static int i2c_readbytes (struct lgdt3302_state* state, static int i2c_readbytes (struct lgdt3302_state* state,
u8 addr, /* demod_address or pll_address */ u8 addr, /* demod_address or pll_address */
u8 *buf, /* holds data bytes read */ u8 *buf, /* holds data bytes read */
...@@ -109,6 +110,7 @@ static int i2c_readbytes (struct lgdt3302_state* state, ...@@ -109,6 +110,7 @@ static int i2c_readbytes (struct lgdt3302_state* state,
} }
return 0; return 0;
} }
#endif
/* /*
* This routine writes the register (reg) to the demod bus * This routine writes the register (reg) to the demod bus
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment