[Linux-Xtensa] Re: [PATCH] xtensa: rename prom_update_property to of_update_property

Chris Zankel chris at zankel.net
Thu Jan 3 15:05:28 PST 2013


Hi Max,

Thanks, added to for_next.

-Chris

On 12/22/12 4:10 AM, Max Filippov wrote:
> This rename happened in 79d1c71 powerpc+of: Rename the drivers/of prom_*
> functions to of_*.
>
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
>   arch/xtensa/platforms/xtfpga/setup.c |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c
> index 4b9951a..9d888a2 100644
> --- a/arch/xtensa/platforms/xtfpga/setup.c
> +++ b/arch/xtensa/platforms/xtfpga/setup.c
> @@ -100,7 +100,7 @@ static void __init update_clock_frequency(struct device_node *node)
>   	}
>   
>   	*(u32 *)newfreq->value = cpu_to_be32(*(u32 *)XTFPGA_CLKFRQ_VADDR);
> -	prom_update_property(node, newfreq);
> +	of_update_property(node, newfreq);
>   }
>   
>   #define MAC_LEN 6
> @@ -128,7 +128,7 @@ static void __init update_local_mac(struct device_node *node)
>   
>   	memcpy(newmac->value, macaddr, MAC_LEN);
>   	((u8*)newmac->value)[5] = (*(u32*)DIP_SWITCHES_VADDR) & 0x3f;
> -	prom_update_property(node, newmac);
> +	of_update_property(node, newmac);
>   }
>   
>   static int __init machine_setup(void)



More information about the linux-xtensa mailing list