Commit 235f0e43 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

V4L/DVB (11100): au8522: fix compilation warning.

normal_i2c and I2C_CLIENT_INSMOD are only necessary for kernels < 2.6.22.
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d64260d5
...@@ -47,15 +47,12 @@ MODULE_LICENSE("GPL"); ...@@ -47,15 +47,12 @@ MODULE_LICENSE("GPL");
static int au8522_analog_debug; 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_param_named(analog_debug, au8522_analog_debug, int, 0644);
MODULE_PARM_DESC(analog_debug, MODULE_PARM_DESC(analog_debug,
"Analog debugging messages [0=Off (default) 1=On]"); "Analog debugging messages [0=Off (default) 1=On]");
I2C_CLIENT_INSMOD;
struct au8522_register_config { struct au8522_register_config {
u16 reg_name; u16 reg_name;
u8 reg_val[8]; u8 reg_val[8];
......
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