summaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2018-11-22 00:37:29 +0200
committerPaul Burton <paul.burton@mips.com>2018-11-21 15:36:42 -0800
commit2cf1c8933dd93088cfb5f8f58b3bb9bbdf1781b9 (patch)
treeea746b8e68e9fdee99ca92e0263b00297684439a /arch/mips/cavium-octeon
parentfa1d2e3ffa761687366162d7fb646318bd63962e (diff)
downloadlinux-2cf1c8933dd93088cfb5f8f58b3bb9bbdf1781b9.tar.gz
linux-2cf1c8933dd93088cfb5f8f58b3bb9bbdf1781b9.tar.bz2
linux-2cf1c8933dd93088cfb5f8f58b3bb9bbdf1781b9.zip
MIPS: OCTEON: octeon-platform: fix typing
Use correct type for fdt_property nameoff field. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/21204/ Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/cavium-octeon')
-rw-r--r--arch/mips/cavium-octeon/octeon-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/octeon-platform.c b/arch/mips/cavium-octeon/octeon-platform.c
index 28b01225da48..1f9ba60f7375 100644
--- a/arch/mips/cavium-octeon/octeon-platform.c
+++ b/arch/mips/cavium-octeon/octeon-platform.c
@@ -501,7 +501,7 @@ static void __init octeon_fdt_set_phy(int eth, int phy_addr)
if (phy_addr >= 256 && alt_phy > 0) {
const struct fdt_property *phy_prop;
struct fdt_property *alt_prop;
- u32 phy_handle_name;
+ fdt32_t phy_handle_name;
/* Use the alt phy node instead.*/
phy_prop = fdt_get_property(initial_boot_params, eth, "phy-handle", NULL);