summaryrefslogtreecommitdiffstats
path: root/samples/tracepoints
diff options
context:
space:
mode:
Diffstat (limited to 'samples/tracepoints')
-rw-r--r--samples/tracepoints/tracepoint-sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/tracepoints/tracepoint-sample.c b/samples/tracepoints/tracepoint-sample.c
index 9cf80a11e8b6..26fab33ffa8c 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,
};
OpenPOWER on IntegriCloud