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
/
mcheck
/
mce_amd.c
diff --git
a/arch/x86/kernel/cpu/mcheck/mce_amd.c
b/arch/x86/kernel/cpu/mcheck/mce_amd.c
index 83a3d1f4efca9ff447e0e2b2f902d4c7d4d16248..cda932ca3ade1c9eaff1e4847349110057943814 100644
(file)
--- a/
arch/x86/kernel/cpu/mcheck/mce_amd.c
+++ b/
arch/x86/kernel/cpu/mcheck/mce_amd.c
@@
-388,7
+388,7
@@
static ssize_t store(struct kobject *kobj, struct attribute *attr,
return ret;
}
-static struct sysfs_ops threshold_ops = {
+static
const
struct sysfs_ops threshold_ops = {
.show = show,
.store = store,
};