diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-05-13 15:56:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:21:12 -0400 |
commit | 7e1111859204ea76ddb8bb682d8b4097cada4385 (patch) | |
tree | 5db84761cc12f755bd1126ef0122a7262ace1140 /drivers/media/video/pvrusb2 | |
parent | 20b0ead5fd82fcf4824ea0b9c082d9dcfae59b02 (diff) |
V4L/DVB (11850): pvrusb2: Instantiate ir_video I2C device by default
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>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c index b88a61df1771..610bd848df24 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c +++ b/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | |||
@@ -42,7 +42,7 @@ static int ir_mode[PVR_NUM] = { [0 ... PVR_NUM-1] = 1 }; | |||
42 | module_param_array(ir_mode, int, NULL, 0444); | 42 | module_param_array(ir_mode, int, NULL, 0444); |
43 | MODULE_PARM_DESC(ir_mode,"specify: 0=disable IR reception, 1=normal IR"); | 43 | MODULE_PARM_DESC(ir_mode,"specify: 0=disable IR reception, 1=normal IR"); |
44 | 44 | ||
45 | static int pvr2_disable_ir_video = 1; | 45 | static int pvr2_disable_ir_video; |
46 | module_param_named(disable_autoload_ir_video, pvr2_disable_ir_video, | 46 | module_param_named(disable_autoload_ir_video, pvr2_disable_ir_video, |
47 | int, S_IRUGO|S_IWUSR); | 47 | int, S_IRUGO|S_IWUSR); |
48 | MODULE_PARM_DESC(disable_autoload_ir_video, | 48 | MODULE_PARM_DESC(disable_autoload_ir_video, |