aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/class.c')
-rw-r--r--drivers/base/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c
index d2a2f8f2b4ed..ff33ebbf1dc7 100644
--- a/drivers/base/class.c
+++ b/drivers/base/class.c
@@ -262,7 +262,7 @@ static int class_hotplug_filter(struct kset *kset, struct kobject *kobj)
262 return 0; 262 return 0;
263} 263}
264 264
265static char *class_hotplug_name(struct kset *kset, struct kobject *kobj) 265static const char *class_hotplug_name(struct kset *kset, struct kobject *kobj)
266{ 266{
267 struct class_device *class_dev = to_class_dev(kobj); 267 struct class_device *class_dev = to_class_dev(kobj);
268 268