summaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2006-08-10 07:19:19 +0200
committerGreg Kroah-Hartman2006-09-26 06:08:36 +0200
commit5cbe5f8a5897470698222ac9924429056e57d84c (patch)
treec8fd5bd8680fd7fde7f779d699d1c5c280d552f3 /include/linux/device.h
parentclass_device_create(): make fmt argument 'const char *' (diff)
downloadkernel-qcow2-linux-5cbe5f8a5897470698222ac9924429056e57d84c.tar.gz
kernel-qcow2-linux-5cbe5f8a5897470698222ac9924429056e57d84c.tar.xz
kernel-qcow2-linux-5cbe5f8a5897470698222ac9924429056e57d84c.zip
device_create(): make fmt argument 'const char *'
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h2
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);
* Easy functions for dynamically creating devices on the fly
*/
extern struct device *device_create(struct class *cls, struct device *parent,
- dev_t devt, char *fmt, ...)
+ dev_t devt, const char *fmt, ...)
__attribute__((format(printf,4,5)));
extern void device_destroy(struct class *cls, dev_t devt);