V4L/DVB (11100): au8522: fix compilation warning.
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>
This commit is contained in:
parent
d64260d588
commit
235f0e4348
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue