summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-07-03 14:31:12 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-25 21:08:38 -0700
commita2de48cace5d0993da6cfa28b276ae724dc3569b (patch)
treee4b1107ec3167c8d0064fe756bde6e0d53cf8c93 /include
parent2620efef7029bb040430f50f0fc148f2d5e002ad (diff)
downloadblackbird-op-linux-a2de48cace5d0993da6cfa28b276ae724dc3569b.tar.gz
blackbird-op-linux-a2de48cace5d0993da6cfa28b276ae724dc3569b.zip
Driver core: add device_rename function
The network layer needs this to convert to using struct device instead of a struct class_device. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 3122bd25ce42..3400e09bf458 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -380,6 +380,7 @@ extern int device_add(struct device * dev);
extern void device_del(struct device * dev);
extern int device_for_each_child(struct device *, void *,
int (*fn)(struct device *, void *));
+extern int device_rename(struct device *dev, char *new_name);
/*
* Manual binding of a device to driver. See drivers/base/bus.c
OpenPOWER on IntegriCloud