diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/kobject/kset-example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/kobject/kset-example.c b/samples/kobject/kset-example.c index 7c6088140528..3b126d1f8599 100644 --- a/samples/kobject/kset-example.c +++ b/samples/kobject/kset-example.c | |||
@@ -87,7 +87,7 @@ static ssize_t foo_attr_store(struct kobject *kobj, | |||
87 | } | 87 | } |
88 | 88 | ||
89 | /* Our custom sysfs_ops that we will associate with our ktype later on */ | 89 | /* Our custom sysfs_ops that we will associate with our ktype later on */ |
90 | static struct sysfs_ops foo_sysfs_ops = { | 90 | static const struct sysfs_ops foo_sysfs_ops = { |
91 | .show = foo_attr_show, | 91 | .show = foo_attr_show, |
92 | .store = foo_attr_store, | 92 | .store = foo_attr_store, |
93 | }; | 93 | }; |