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 /include/linux | |
parent | ddd5d35a8f7c1924049e8b6877b3177c1787e6a3 (diff) |
device_create(): make fmt argument 'const char *'
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 1fec28546525..8d92013f9ce1 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -384,7 +384,7 @@ extern void device_reprobe(struct device *dev); | |||
384 | * Easy functions for dynamically creating devices on the fly | 384 | * Easy functions for dynamically creating devices on the fly |
385 | */ | 385 | */ |
386 | extern struct device *device_create(struct class *cls, struct device *parent, | 386 | extern struct device *device_create(struct class *cls, struct device *parent, |
387 | dev_t devt, char *fmt, ...) | 387 | dev_t devt, const char *fmt, ...) |
388 | __attribute__((format(printf,4,5))); | 388 | __attribute__((format(printf,4,5))); |
389 | extern void device_destroy(struct class *cls, dev_t devt); | 389 | extern void device_destroy(struct class *cls, dev_t devt); |
390 | 390 | ||