mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
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>
This commit is contained in:
parent
6cc94ef535
commit
a2807dbcbd
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user