diff options
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
-rw-r--r-- | drivers/media/v4l2-core/v4l2-ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 29c751d86061..936ca25bd5be 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c | |||
@@ -1813,7 +1813,7 @@ static int v4l_dbg_s_register(const struct v4l2_ioctl_ops *ops, | |||
1813 | struct file *file, void *fh, void *arg) | 1813 | struct file *file, void *fh, void *arg) |
1814 | { | 1814 | { |
1815 | #ifdef CONFIG_VIDEO_ADV_DEBUG | 1815 | #ifdef CONFIG_VIDEO_ADV_DEBUG |
1816 | struct v4l2_dbg_register *p = arg; | 1816 | const struct v4l2_dbg_register *p = arg; |
1817 | 1817 | ||
1818 | if (!capable(CAP_SYS_ADMIN)) | 1818 | if (!capable(CAP_SYS_ADMIN)) |
1819 | return -EPERM; | 1819 | return -EPERM; |