aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/w1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/w1.h')
-rw-r--r--include/linux/w1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/w1.h b/include/linux/w1.h
index cebf3464bc03..949d3b10e531 100644
--- a/include/linux/w1.h
+++ b/include/linux/w1.h
@@ -269,7 +269,7 @@ struct w1_family {
struct list_head family_entry;
u8 fid;
- struct w1_family_ops *fops;
+ const struct w1_family_ops *fops;
const struct of_device_id *of_match_table;