From: Frank Rowand <[email protected]> struct device_node full_name has been changed to include the basename instead of the full path. kbasename() is no longer needed to extract the basename from full_name.
Signed-off-by: Frank Rowand <[email protected]> --- drivers/of/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/platform.c b/drivers/of/platform.c index c00d81dfac0b..17116f5ce6ba 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -94,7 +94,7 @@ static void of_device_make_bus_id(struct device *dev) /* format arguments only used if dev_name() resolves to NULL */ dev_set_name(dev, dev_name(dev) ? "%s:%s" : "%s", - kbasename(node->full_name), dev_name(dev)); + node->full_name, dev_name(dev)); node = node->parent; } } -- Frank Rowand <[email protected]>

