[PATCH] net: macb: Fix incorrect write function name when MACB_ZYNQ is enabled.

Tom Rini trini at konsulko.com
Tue Mar 31 21:10:26 CEST 2020


On Thu, Mar 26, 2020 at 03:01:29PM +0100, Michal Simek wrote:

> When MACB_ZYNQ is enabled there is compilation warnings
> drivers/net/macb.c: In function ‘_macb_init’:
> drivers/net/macb.h:675:33: error: ‘MACB_DMACFG’ undeclared (first use in this function);
>  did you mean ‘MACB_MCF’?
>   writel((value), (port)->regs + MACB_##reg)
>                                  ^~~~~
> 
> It has been caused by changing macros name by commit below.
> 
> Fixes: 6c636514d499 ("net: macb: sync header definitions as taken from Linux")
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200331/f4642a8f/attachment.sig>


More information about the U-Boot mailing list