From: Florian Fainelli Date: Tue, 15 Sep 2009 21:44:22 +0000 (+0000) Subject: cpmac: fix compilation errors against undeclared BUS_ID_SIZE X-Git-Tag: v2.6.32-rc1~27^2~40 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=762c6aa14c541f0fef44d030f9d422b47583365d;p=pandora-kernel.git 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 Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed