projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc94ef
)
driver core: export device_rename
author
Johannes Berg
<
[email protected]
>
Wed, 28 Feb 2007 11:38:31 +0000
(12:38 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/base/core.c
patch
|
blob
|
history
diff --git
a/drivers/base/core.c
b/drivers/base/core.c
index fb16f293561dd57a4eb6c69c585960cf28c39ca5..f191afe62b4d06633dc84490ec6e630d983c6a1a 100644
(file)
--- 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,