diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-13 19:56:20 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-13 19:56:20 +0000 |
commit | 71d712e8f23494d0869cbc8e93b0dcf4891cc45a (patch) | |
tree | 2233e7dd604d402ea0f4358d9446f6a88ed16d47 | |
parent | eeb337b881232de30fee5db9fb1899f381ca4249 (diff) | |
download | mediapointer-dvb-s2-71d712e8f23494d0869cbc8e93b0dcf4891cc45a.tar.gz mediapointer-dvb-s2-71d712e8f23494d0869cbc8e93b0dcf4891cc45a.tar.bz2 |
pvrusb2: Instantiate ir_video I2C device by default
From: Jean Delvare <khali@linux-fr.org>
Now that the ir-kbd-i2c driver has been converted to a new-style i2c
driver, we can instantiate the ir_video I2C device by default. The
pvr2_disable_ir_video is kept to disable the IR receiver, either
because the user doesn't use it, or for debugging purpose.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c index 28463489a..694e51f58 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c @@ -43,7 +43,7 @@ static int ir_mode[PVR_NUM] = { [0 ... PVR_NUM-1] = 1 }; module_param_array(ir_mode, int, NULL, 0444); MODULE_PARM_DESC(ir_mode,"specify: 0=disable IR reception, 1=normal IR"); -static int pvr2_disable_ir_video = 1; +static int pvr2_disable_ir_video; module_param_named(disable_autoload_ir_video, pvr2_disable_ir_video, int, S_IRUGO|S_IWUSR); MODULE_PARM_DESC(disable_autoload_ir_video, |