Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2807dbc authored by Johannes Berg's avatar Johannes Berg Committed by Greg Kroah-Hartman
Browse files

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: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6cc94ef5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,