commit | 5cbe5f8a5897470698222ac9924429056e57d84c | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Thu Aug 10 01:19:19 2006 -0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Sep 25 21:08:36 2006 -0700 |
tree | c8fd5bd8680fd7fde7f779d699d1c5c280d552f3 | |
parent | ddd5d35a8f7c1924049e8b6877b3177c1787e6a3 [diff] |
device_create(): make fmt argument 'const char *' Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/drivers/base/core.c b/drivers/base/core.c index 04d089f..5d4b7e0 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c
@@ -583,7 +583,7 @@ * been created with a call to class_create(). */ struct device *device_create(struct class *class, struct device *parent, - dev_t devt, char *fmt, ...) + dev_t devt, const char *fmt, ...) { va_list args; struct device *dev = NULL;