diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-10 01:19:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 00:08:36 -0400 |
commit | 5cbe5f8a5897470698222ac9924429056e57d84c (patch) | |
tree | c8fd5bd8680fd7fde7f779d699d1c5c280d552f3 /drivers | |
parent | ddd5d35a8f7c1924049e8b6877b3177c1787e6a3 (diff) |
device_create(): make fmt argument 'const char *'
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 04d089fd4f76..5d4b7e04471e 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -583,7 +583,7 @@ static void device_create_release(struct device *dev) | |||
583 | * been created with a call to class_create(). | 583 | * been created with a call to class_create(). |
584 | */ | 584 | */ |
585 | struct device *device_create(struct class *class, struct device *parent, | 585 | struct device *device_create(struct class *class, struct device *parent, |
586 | dev_t devt, char *fmt, ...) | 586 | dev_t devt, const char *fmt, ...) |
587 | { | 587 | { |
588 | va_list args; | 588 | va_list args; |
589 | struct device *dev = NULL; | 589 | struct device *dev = NULL; |