summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-02-28 12:38:31 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-03-09 15:32:58 -0800
commita2807dbcbd681e1f36e813fb26e2f24d15018b91 (patch)
treeb549bcf0675c8f2a0e03690ba8eb3cf48c6ca1fc /drivers/base
parent6cc94ef5359453dafc4778f6e5c33b128a2705c9 (diff)
downloadlinux-a2807dbcbd681e1f36e813fb26e2f24d15018b91.tar.bz2
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 <johannes@sipsolutions.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index fb16f293561d..f191afe62b4d 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,