cpmac: fix compilation errors against undeclared BUS_ID_SIZE
authorFlorian Fainelli <florian@openwrt.org>
Tue, 15 Sep 2009 21:44:22 +0000 (21:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2009 18:32:23 +0000 (11:32 -0700)
commit762c6aa14c541f0fef44d030f9d422b47583365d
tree20ea4807510290510389cf852d12b4ee9406fe9b
parentb31c50a7f9e93a61d14740dedcbbf2c376998bc7
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>
drivers/net/cpmac.c