]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tea5764: Fix module parameter permissions
authorJean Delvare <jdelvare@suse.de>
Fri, 8 Jul 2011 09:00:37 +0000 (06:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:55:53 +0000 (17:55 -0300)
commit8ae15bbf7555cce4b5e79b35a16abb5bfcfa2b38
tree2f5ac6ba7cf8b7eb2c950d252d9a297ef2254c2e
parentde43015d3e7c96c504b9afc7e759587149631575
[media] tea5764: Fix module parameter permissions

The third parameter of module_param is supposed to represent sysfs
file permissions. A value of "1" leads to the following:

$ ls -l /sys/module/radio_tea5764/parameters/
total 0

I am changing it to "0" to align with the other module parameters in
this driver.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Fabio Belavenuto <belavenuto@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-tea5764.c