projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git]
/
arch
/
x86
/
kernel
/
cpu
/
intel_cacheinfo.c
diff --git
a/arch/x86/kernel/cpu/intel_cacheinfo.c
b/arch/x86/kernel/cpu/intel_cacheinfo.c
index eddb1bdd1b8f8e2aedc51360d401eeabe9f9592d..b3eeb66c0a51af93e3d7015aa737ce3af66ed1e3 100644
(file)
--- a/
arch/x86/kernel/cpu/intel_cacheinfo.c
+++ b/
arch/x86/kernel/cpu/intel_cacheinfo.c
@@
-903,7
+903,7
@@
static ssize_t store(struct kobject *kobj, struct attribute *attr,
return ret;
}
-static struct sysfs_ops sysfs_ops = {
+static
const
struct sysfs_ops sysfs_ops = {
.show = show,
.store = store,
};