Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-flexiantxendom0-natty.git] / arch / x86 / kernel / cpu / mcheck / mce_amd.c
index 83a3d1f..cda932c 100644 (file)
@@ -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,
 };