mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
V4L/DVB (6483): ivtv-streams: make file_operations const
Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
bdd36658fe
commit
4be2f47054
@ -43,7 +43,7 @@
|
||||
#include "ivtv-cards.h"
|
||||
#include "ivtv-streams.h"
|
||||
|
||||
static struct file_operations ivtv_v4l2_enc_fops = {
|
||||
static const struct file_operations ivtv_v4l2_enc_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.read = ivtv_v4l2_read,
|
||||
.write = ivtv_v4l2_write,
|
||||
@ -53,7 +53,7 @@ static struct file_operations ivtv_v4l2_enc_fops = {
|
||||
.poll = ivtv_v4l2_enc_poll,
|
||||
};
|
||||
|
||||
static struct file_operations ivtv_v4l2_dec_fops = {
|
||||
static const struct file_operations ivtv_v4l2_dec_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.read = ivtv_v4l2_read,
|
||||
.write = ivtv_v4l2_write,
|
||||
|
Loading…
Reference in New Issue
Block a user