kobject: kset_uevent_ops: make filter() callback take a const *
[linux-2.6-block.git] / kernel / params.c
index 5b92310425c50a5314942b14d7866f7fec383c20..d2237209cedacc53495aaa910947b00a2ad9a289 100644 (file)
@@ -926,7 +926,7 @@ static const struct sysfs_ops module_sysfs_ops = {
        .store = module_attr_store,
 };
 
-static int uevent_filter(struct kobject *kobj)
+static int uevent_filter(const struct kobject *kobj)
 {
        const struct kobj_type *ktype = get_ktype(kobj);