[brcm63xx] add experimental support for 2.6.28.10, tested on bcm6338
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / files / drivers / net / bcm63xx_enet.c
index 27d03eb5b9214ad50c2a461c90266482770b7dbb..d338bbc08d5550aec56e23b0738a4db0502084a1 100644 (file)
@@ -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;