diff options
author | Dmitry Torokhov | 2006-08-10 07:18:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2006-09-26 06:08:36 +0200 |
commit | ddd5d35a8f7c1924049e8b6877b3177c1787e6a3 (patch) | |
tree | 5989803d2ee88b3be71844cec1882359f9454824 /include/linux/device.h | |
parent | deprecate PHYSDEV* keys (diff) | |
download | kernel-qcow2-linux-ddd5d35a8f7c1924049e8b6877b3177c1787e6a3.tar.gz kernel-qcow2-linux-ddd5d35a8f7c1924049e8b6877b3177c1787e6a3.tar.xz kernel-qcow2-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 'include/linux/device.h')
-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 1e5f30da98bc..1fec28546525 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -277,7 +277,7 @@ extern struct class_device *class_device_create(struct class *cls, struct class_device *parent, dev_t devt, struct device *device, - char *fmt, ...) + const char *fmt, ...) __attribute__((format(printf,5,6))); extern void class_device_destroy(struct class *cls, dev_t devt); |