X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=samples%2Ftracepoints%2Ftracepoint-sample.c;h=26fab33ffa8cccc13a02e9d3b4573c974f71e86e;hb=828c09509b9695271bcbdc53e9fc9a6a737148d2;hp=9cf80a11e8b68aa23d6b744e3cdb0da81e438981;hpb=b4348f32dae3cb6eb4bc21c7ed8f76c0b11e9d6a;p=~andy%2Flinux diff --git a/samples/tracepoints/tracepoint-sample.c b/samples/tracepoints/tracepoint-sample.c index 9cf80a11e8b..26fab33ffa8 100644 --- a/samples/tracepoints/tracepoint-sample.c +++ b/samples/tracepoints/tracepoint-sample.c @@ -28,7 +28,7 @@ static int my_open(struct inode *inode, struct file *file) return -EPERM; } -static struct file_operations mark_ops = { +static const struct file_operations mark_ops = { .open = my_open, };