From: Johannes Berg Date: Wed, 28 Feb 2007 11:38:31 +0000 (+0100) Subject: driver core: export device_rename X-Git-Tag: v2.6.21-rc4~52^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a2807dbcbd681e1f36e813fb26e2f24d15018b91;p=linux-2.6-omap-h63xx.git driver core: export device_rename In wireless we'd like to allow renaming of the phy devices we surface in sysfs. The base wireless code, however, can be built modular and thus we need device_rename exported. Signed-off-by: Johannes Berg Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/base/core.c b/drivers/base/core.c index fb16f293561..f191afe62b4 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -1065,7 +1065,7 @@ int device_rename(struct device *dev, char *new_name) return error; } - +EXPORT_SYMBOL_GPL(device_rename); static int device_move_class_links(struct device *dev, struct device *old_parent,