From: Tom Rini Date: Tue, 31 Mar 2020 15:10:26 -0400 Subject: [PATCH] net: macb: Fix incorrect write function name when MACB_ZYNQ is enabled. In-Reply-To: <96d87b35bafab5ac49b3475a2d22ad67ee9afaef.1585231286.git.michal.simek@xilinx.com> References: <96d87b35bafab5ac49b3475a2d22ad67ee9afaef.1585231286.git.michal.simek@xilinx.com> Message-ID: <20200331191026.GJ27133@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Acked-by: Joe Hershberger 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: