diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2006-08-10 07:18:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 06:08:36 +0200 |
commit | ddd5d35a8f7c1924049e8b6877b3177c1787e6a3 (patch) | |
tree | 5989803d2ee88b3be71844cec1882359f9454824 /drivers/base | |
parent | deprecate PHYSDEV* keys (diff) | |
download | linux-ddd5d35a8f7c1924049e8b6877b3177c1787e6a3.tar.xz linux-ddd5d35a8f7c1924049e8b6877b3177c1787e6a3.zip |
class_device_create(): make fmt argument 'const char *'
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-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) struct class_device *class_device_create(struct class *cls, struct class_device *parent, dev_t devt, - struct device *device, char *fmt, ...) + struct device *device, + const char *fmt, ...) { va_list args; struct class_device *class_dev = NULL; |