macb: Fix build with macro'ized readl/writel.
authorDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 21:24:48 +0000 (14:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 21:24:48 +0000 (14:24 -0700)
commit7a6e0706c09b121d4656b055d9b0494320246f4f
tree80051b678d901313c761c63590b711da3f3a4423
parent8fff755e9f8d0f70a595e79f248695ce6aef5cc3
macb: Fix build with macro'ized readl/writel.

If an architecture defines readl/writel using CPP macros, we
get the following kinds of build failure:

> > > drivers/net/ethernet/cadence/macb.c:164:1: error: macro "writel"
> > > passed 3 arguments, but takes just 2
>      macb_or_gem_writel(bp, SA1B, bottom);
>     ^

Rename the methods so that this doesn't happen.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h