Messages in this thread | | | From | Dan Murphy <> | Subject | [PATCH net 0/4] Fixes for OF_MDIO flag | Date | Fri, 5 Jun 2020 09:01:03 -0500 |
| |
Hello
There are some residual drivers that check the CONFIG_OF_MDIO flag using the if defs. Using this check does not work when the OF_MDIO is configured as a module. Using the IS_ENABLED macro checks if the flag is declared as built-in or as a module.
Dan
Dan Murphy (4): net: dp83869: Fix OF_MDIO config check net: dp83867: Fix OF_MDIO config check net: marvell: Fix OF_MDIO config check net: mscc: Fix OF_MDIO config check
drivers/net/phy/dp83867.c | 2 +- drivers/net/phy/dp83869.c | 2 +- drivers/net/phy/marvell.c | 2 +- drivers/net/phy/mscc/mscc.h | 2 +- drivers/net/phy/mscc/mscc_main.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-)
-- 2.26.2
| |