]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
driver core: export device_rename
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 28 Feb 2007 11:38:31 +0000 (12:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 23:32:58 +0000 (15:32 -0800)
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>
drivers/base/core.c

index fb16f293561dd57a4eb6c69c585960cf28c39ca5..f191afe62b4d06633dc84490ec6e630d983c6a1a 100644 (file)
@@ -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,