summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2003-07-03 03:43:49 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2003-07-03 03:43:49 -0700
commit59c6630a851e15bc6bcecac9656e916574203b95 (patch)
treef8a3a2d86b499c3d8ec782c2581c03238b242d1a /include/linux/device.h
parente956d3ab2a9fd0387d41f5035e0902e06bcbc219 (diff)
[PATCH] driver core: added class_device_rename()
Based on a patch written by Dan Aloni <da-x@gmx.net>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index edf43ff2ffb2..2795b85ac6f1 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -216,6 +216,8 @@ extern void class_device_initialize(struct class_device *);
extern int class_device_add(struct class_device *);
extern void class_device_del(struct class_device *);
+extern int class_device_rename(struct class_device *, char *);
+
extern struct class_device * class_device_get(struct class_device *);
extern void class_device_put(struct class_device *);