summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/au8522_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends/au8522_decoder.c')
-rw-r--r--linux/drivers/media/dvb/frontends/au8522_decoder.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/au8522_decoder.c b/linux/drivers/media/dvb/frontends/au8522_decoder.c
index 7c782b8d5..70af9cda7 100644
--- a/linux/drivers/media/dvb/frontends/au8522_decoder.c
+++ b/linux/drivers/media/dvb/frontends/au8522_decoder.c
@@ -48,15 +48,17 @@ MODULE_LICENSE("GPL");
static int au8522_analog_debug;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
static unsigned short normal_i2c[] = { 0x8e >> 1, I2C_CLIENT_END };
+I2C_CLIENT_INSMOD;
+#endif
+
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];