Skip to content

Commit

Permalink
V4L/DVB (11100): au8522: fix compilation warning.
Browse files Browse the repository at this point in the history
normal_i2c and I2C_CLIENT_INSMOD are only necessary for kernels < 2.6.22.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent d64260d commit 235f0e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/media/dvb/frontends/au8522_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,12 @@ MODULE_LICENSE("GPL");

static int au8522_analog_debug;

static unsigned short normal_i2c[] = { 0x8e >> 1, I2C_CLIENT_END };

module_param_named(analog_debug, au8522_analog_debug, int, 0644);

MODULE_PARM_DESC(analog_debug,
"Analog debugging messages [0=Off (default) 1=On]");

I2C_CLIENT_INSMOD;

struct au8522_register_config {
u16 reg_name;
u8 reg_val[8];
Expand Down

0 comments on commit 235f0e4

Please sign in to comment.