diff options
author | Jean Delvare <jdelvare@suse.de> | 2011-07-08 05:00:37 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:55:53 -0400 |
commit | 731884ba61d414563a75a5795f140432d786420f (patch) | |
tree | 2f5ac6ba7cf8b7eb2c950d252d9a297ef2254c2e /drivers/media/radio/radio-tea5764.c | |
parent | dbe8740ddecfbeb81d97dd6e85e0298081a6085d (diff) |
[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>
Diffstat (limited to 'drivers/media/radio/radio-tea5764.c')
-rw-r--r-- | drivers/media/radio/radio-tea5764.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c index ce75c3ae5670..95ddcc4845d3 100644 --- a/drivers/media/radio/radio-tea5764.c +++ b/drivers/media/radio/radio-tea5764.c | |||
@@ -594,7 +594,7 @@ MODULE_DESCRIPTION(DRIVER_DESC); | |||
594 | MODULE_LICENSE("GPL"); | 594 | MODULE_LICENSE("GPL"); |
595 | MODULE_VERSION(DRIVER_VERSION); | 595 | MODULE_VERSION(DRIVER_VERSION); |
596 | 596 | ||
597 | module_param(use_xtal, int, 1); | 597 | module_param(use_xtal, int, 0); |
598 | MODULE_PARM_DESC(use_xtal, "Chip have a xtal connected in board"); | 598 | MODULE_PARM_DESC(use_xtal, "Chip have a xtal connected in board"); |
599 | module_param(radio_nr, int, 0); | 599 | module_param(radio_nr, int, 0); |
600 | MODULE_PARM_DESC(radio_nr, "video4linux device number to use"); | 600 | MODULE_PARM_DESC(radio_nr, "video4linux device number to use"); |