Skip to content
  • Frank Rowand's avatar
    of: overlay: do not include path in full_name of added nodes · b89dae18
    Frank Rowand authored and Rob Herring's avatar Rob Herring committed
    Struct device_node full_name no longer includes the full path name
    when the devicetree is created from a flattened device tree (FDT).
    The overlay node creation code was not modified to reflect this
    change.  Fix the node full_name generated by overlay code to contain
    only the basename.
    
    Unittests call an overlay internal function to create new nodes.
    Fix up these calls to provide basename only instead of the full
    path.
    
    Fixes: a7e4cfb0
    
     ("of/fdt: only store the device node basename
    in full_name")
    
    Signed-off-by: default avatarFrank Rowand <frank.rowand@sony.com>
    Signed-off-by: default avatarRob Herring <robh@kernel.org>
    b89dae18