diff options
Diffstat (limited to 'drivers/base/class.c')
-rw-r--r-- | drivers/base/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index de8908320f23..46336f1b93b6 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c | |||
@@ -361,7 +361,7 @@ static int class_uevent(struct kset *kset, struct kobject *kobj, char **envp, | |||
361 | pr_debug("%s - name = %s\n", __FUNCTION__, class_dev->class_id); | 361 | pr_debug("%s - name = %s\n", __FUNCTION__, class_dev->class_id); |
362 | 362 | ||
363 | if (class_dev->dev) { | 363 | if (class_dev->dev) { |
364 | /* add physical device, backing this device */ | 364 | /* add device, backing this class device (deprecated) */ |
365 | struct device *dev = class_dev->dev; | 365 | struct device *dev = class_dev->dev; |
366 | char *path = kobject_get_path(&dev->kobj, GFP_KERNEL); | 366 | char *path = kobject_get_path(&dev->kobj, GFP_KERNEL); |
367 | 367 | ||