]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MIPS: BCM47XX: remove creating a fixed phy
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 30 Oct 2025 21:45:30 +0000 (22:45 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 02:46:13 +0000 (18:46 -0800)
Now that b44 ethernet driver creates a fixed phy if needed, we can
remove this here.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/8983b705-6bca-4728-9283-7aa60f49340f@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
arch/mips/bcm47xx/setup.c

index a93a4266dc1efe3de15f13f50973fe31da71b322..38ed61b4bd9621fcc195fb0c9f80314c3f1507b6 100644 (file)
@@ -256,12 +256,6 @@ static int __init bcm47xx_cpu_fixes(void)
 }
 arch_initcall(bcm47xx_cpu_fixes);
 
-static const struct fixed_phy_status bcm47xx_fixed_phy_status __initconst = {
-       .link   = 1,
-       .speed  = SPEED_100,
-       .duplex = DUPLEX_FULL,
-};
-
 static int __init bcm47xx_register_bus_complete(void)
 {
        switch (bcm47xx_bus_type) {
@@ -282,7 +276,6 @@ static int __init bcm47xx_register_bus_complete(void)
        bcm47xx_leds_register();
        bcm47xx_workarounds();
 
-       fixed_phy_add(&bcm47xx_fixed_phy_status);
        return 0;
 }
 device_initcall(bcm47xx_register_bus_complete);