sparc32, leon: Stop adding vendor and device id to prom ambapp path components
authorAndreas Larsson <andreas@gaisler.com>
Mon, 13 Jan 2020 16:01:47 +0000 (17:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 12:24:35 +0000 (13:24 +0100)
commite2b9fc2dd6911b730279352a676251e70e51643b
treef3d846b392a17a1eb3d6132396019d9fefbd0ad5
parent548f0b9a5f4cffa0cecf62eb12aa8db682e4eee6
sparc32, leon: Stop adding vendor and device id to prom ambapp path components

These extra fields before the @ are not handled in of_node_name_eq,
making commit b3e46d1a0590500335f0b95e669ad6d84b12b03a break node name
comparisons for ambapp path components, thereby making LEON systems
unable to boot.

As there is no need for the tacked on vendor and device ID fields in the
path component, resolve this situation by removing them.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/prom_32.c