diff options
Diffstat (limited to 'drivers/base/class.c')
-rw-r--r-- | drivers/base/class.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index 46336f1b93b6..75057aaab809 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c | |||
@@ -679,7 +679,8 @@ int class_device_register(struct class_device *class_dev) | |||
679 | struct class_device *class_device_create(struct class *cls, | 679 | struct class_device *class_device_create(struct class *cls, |
680 | struct class_device *parent, | 680 | struct class_device *parent, |
681 | dev_t devt, | 681 | dev_t devt, |
682 | struct device *device, char *fmt, ...) | 682 | struct device *device, |
683 | const char *fmt, ...) | ||
683 | { | 684 | { |
684 | va_list args; | 685 | va_list args; |
685 | struct class_device *class_dev = NULL; | 686 | struct class_device *class_dev = NULL; |