MIPS: OCTEON: octeon-platform: fix typing
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 21 Nov 2018 22:37:29 +0000 (00:37 +0200)
committerPaul Burton <paul.burton@mips.com>
Wed, 21 Nov 2018 23:36:42 +0000 (15:36 -0800)
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
arch/mips/cavium-octeon/octeon-platform.c

index 28b01225da48fa83a9fa1758b00ad85dc47bdaac..1f9ba60f7375809ff23c1cec67f61e155321e82b 100644 (file)
@@ -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);