diff options
author | Derek Robson <robsonde@gmail.com> | 2017-02-11 14:10:42 +1300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-07 20:11:41 +0100 |
commit | e13b567d522ece7ec2aeb1cdcf1f6aa04dee7eea (patch) | |
tree | af56f02bb79fc5557678d0c5f72bfb5b91e43211 /drivers/staging/vc04_services | |
parent | d01e631855b6a501c99f55b89f2f724e15b12eb0 (diff) |
Staging: media: platform: bcm2835 - style fix
Changed permissions to octal style
Found using checkpatch
Signed-off-by: Derek Robson <robsonde@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services')
-rw-r--r-- | drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c index ab853441b809..98198ff5419d 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -61,9 +61,9 @@ MODULE_PARM_DESC(video_nr, "videoX start numbers, -1 is autodetect"); static int max_video_width = MAX_VIDEO_MODE_WIDTH; static int max_video_height = MAX_VIDEO_MODE_HEIGHT; -module_param(max_video_width, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); +module_param(max_video_width, int, 0644); MODULE_PARM_DESC(max_video_width, "Threshold for video mode"); -module_param(max_video_height, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); +module_param(max_video_height, int, 0644); MODULE_PARM_DESC(max_video_height, "Threshold for video mode"); /* Gstreamer bug https://bugzilla.gnome.org/show_bug.cgi?id=726521 @@ -76,7 +76,7 @@ MODULE_PARM_DESC(max_video_height, "Threshold for video mode"); * result). */ static int gst_v4l2src_is_broken; -module_param(gst_v4l2src_is_broken, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); +module_param(gst_v4l2src_is_broken, int, 0644); MODULE_PARM_DESC(gst_v4l2src_is_broken, "If non-zero, enable workaround for Gstreamer"); /* global device data array */ |