aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/drivers
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-30 21:29:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-30 21:29:25 +0000
commit9887dc61008ac45f29b36f5d91cef6933ca4571b (patch)
treed82f1c0b075f5cc3cdf3b9f8d47643c808862eb7 /target/linux/brcm63xx/files/drivers
parent750456aaee8c898ebaa9922e63cad735001332d6 (diff)
downloadupstream-9887dc61008ac45f29b36f5d91cef6933ca4571b.tar.gz
upstream-9887dc61008ac45f29b36f5d91cef6933ca4571b.tar.bz2
upstream-9887dc61008ac45f29b36f5d91cef6933ca4571b.zip
add experimental support for 2.6.28.10, tested on bcm6338
SVN-Revision: 17054
Diffstat (limited to 'target/linux/brcm63xx/files/drivers')
-rw-r--r--target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c b/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
index 27d03eb5b9..d338bbc08d 100644
--- a/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
+++ b/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
@@ -1718,7 +1718,7 @@ static int __devinit bcm_enet_probe(struct platform_device *pdev)
if (priv->has_phy) {
bus = &priv->mii_bus;
bus->name = "bcm63xx_enet MII bus";
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
bus->dev = &pdev->dev;
#else
bus->parent = &pdev->dev;