diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-09-15 21:44:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-21 11:32:23 -0700 |
commit | 762c6aa14c541f0fef44d030f9d422b47583365d (patch) | |
tree | 20ea4807510290510389cf852d12b4ee9406fe9b /drivers/staging | |
parent | b31c50a7f9e93a61d14740dedcbbf2c376998bc7 (diff) |
cpmac: fix compilation errors against undeclared BUS_ID_SIZE
With the removal of BUS_ID_SIZE, cpmac was not fully
converted to use MII_BUS_ID_SIZE as it ought to. This
patch fixes the following cpmac build failure:
CC drivers/net/cpmac.o
drivers/net/cpmac.c: In function 'cpmac_start_xmit':
drivers/net/cpmac.c:563: warning: comparison of distinct pointer types lacks a cast
drivers/net/cpmac.c: In function 'cpmac_probe':
drivers/net/cpmac.c:1112: error: 'BUS_ID_SIZE' undeclared (first use in this function)
drivers/net/cpmac.c:1112: error: (Each undeclared identifier is reported only once
drivers/net/cpmac.c:1112: error: for each function it appears in.)
Reported-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions