]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
MIPS: OCTEON: octeon-platform: fix typing
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 21 Nov 2018 22:37:29 +0000 (00:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:51:33 +0000 (08:51 +0100)
[ Upstream commit 2cf1c8933dd93088cfb5f8f58b3bb9bbdf1781b9 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/cavium-octeon/octeon-platform.c

index 807cadaf554e2e0e3d5665c95c8d2cb19ce1d705..5ba181e87d2c1ff2dab04190f700c7db9bcbf8af 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);