lkml.org 
[lkml]   [2020]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net 0/4] Fixes for OF_MDIO flag
Date
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

\
 
 \ /
  Last update: 2020-06-05 16:01    [W:0.080 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site