From 5155c8ec93be8af9ec27d6756a92e1cfb02917d7 Mon Sep 17 00:00:00 2001 From: SecureCRT Date: Mon, 24 Sep 2012 22:36:20 +0800 Subject: [PATCH] remove the compile warnings --- include/linux/kobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 58ae8e00..aabe5a8d 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h @@ -106,7 +106,7 @@ extern char *kobject_get_path(struct kobject *kobj, gfp_t flag); struct kobj_type { void (*release)(struct kobject *kobj); - struct sysfs_ops *sysfs_ops; + const struct sysfs_ops *sysfs_ops; struct attribute **default_attrs; };