[media] em28xx: prefer_bulk parameter is read-only

As the bulk mode is set at device's probe, it is not possible
to change it later. So, change the parameter to be read only
after modprobing.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab 2012-12-23 13:14:20 -02:00
parent a6bad040da
commit b5cff595bd
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ module_param_array(card, int, NULL, 0444);
MODULE_PARM_DESC(card, "card type"); MODULE_PARM_DESC(card, "card type");
static unsigned int prefer_bulk; static unsigned int prefer_bulk;
module_param(prefer_bulk, int, 0644); module_param(prefer_bulk, int, 0444);
MODULE_PARM_DESC(prefer_bulk, "prefer USB bulk transfers"); MODULE_PARM_DESC(prefer_bulk, "prefer USB bulk transfers");