V4L/DVB (11100): au8522: fix compilation warning.
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Mar 2009 19:39:07 +0000 (16:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:28 +0000 (12:43 -0300)
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>
drivers/media/dvb/frontends/au8522_decoder.c

index c9d0eec..2617f68 100644 (file)
@@ -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];