Re: [2.6 patch] export genphy_restart_aneg

From: Andy Fleming
Date: Mon Oct 13 2008 - 14:10:31 EST



On Oct 13, 2008, at 12:19, Adrian Bunk wrote:

This patch fixes the following build error caused by
commit ed94493fb38a665cebcf750dfabe8a6dd13e136f
(mv643xx_eth: convert to phylib):

<-- snip -->

...
Building modules, stage 2.
MODPOST 1280 modules
ERROR: "genphy_restart_aneg" [drivers/net/mv643xx_eth.ko] undefined!
...
make[2]: *** [__modpost] Error 1

<-- snip -->


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>


Could you get genphy_setup_forced, too? It doesn't appear to be used, but it's currently in include/linux/phy.h, and not static.

Alternatively, we could change genphy_setup_forced to be static. :)

Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/