[PATCH] export device_rename

From: Johannes Berg
Date: Wed Feb 28 2007 - 06:39:16 EST


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@xxxxxxxxxxxxxxxx>

---
Is this acceptable? For testing reasons we want the cfg80211 code
buildable as a module.

drivers/base/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- wireless-dev.orig/drivers/base/core.c 2007-02-28 12:35:37.123956566 +0100
+++ wireless-dev/drivers/base/core.c 2007-02-28 12:35:51.763956566 +0100
@@ -1029,7 +1029,7 @@ int device_rename(struct device *dev, ch

return error;
}
-
+EXPORT_SYMBOL_GPL(device_rename);

static int device_move_class_links(struct device *dev,
struct device *old_parent,


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/