From: Lennert Buytenhek Date: Thu, 9 Oct 2008 16:45:04 +0000 (-0700) Subject: phylib: two dynamic mii_bus allocation fallout fixes X-Git-Tag: v2.6.28-rc1~717^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec2a5652ea53c102306f08cdf516f98e32bd4b61;p=pandora-kernel.git phylib: two dynamic mii_bus allocation fallout fixes 1. arch/powerpc/platforms/pasemi/gpio_mdio.c also needs to be converted over to mdiobus_{alloc,free}(). 2. drivers/net/phy/fixed.c used to embed a struct mii_bus into its struct fixed_mdio_bus and then use container_of() to go from the former to the latter. Since mii bus structures are no longer embedded, we need to do something like use the mii bus private pointer to go from mii_bus to fixed_mdio_bus instead. Signed-off-by: Lennert Buytenhek Signed-off-by: David S. Miller --- Reading git-diff-tree failed