diff options
| author | Johannes Schneider <[email protected]> | 2025-04-23 04:47:24 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-04-24 09:19:35 +0000 |
| commit | 607b310ada5ef4c738f9dffc758a62a9d309b084 (patch) | |
| tree | a314ddb4f6ae9f911da56ec008ffbd310fb3defb /net/unix/af_unix.c | |
| parent | Merge branch 'pds_core-updates-and-fixes' (diff) | |
| download | kernel-607b310ada5ef4c738f9dffc758a62a9d309b084.tar.gz kernel-607b310ada5ef4c738f9dffc758a62a9d309b084.zip | |
net: dp83822: Fix OF_MDIO config check
When CONFIG_OF_MDIO is set to be a module the code block is not
compiled. Use the IS_ENABLED macro that checks for both built in as
well as module.
Fixes: 5dc39fd5ef35 ("net: phy: DP83822: Add ability to advertise Fiber connection")
Signed-off-by: Johannes Schneider <[email protected]>
Reviewed-by: Maxime Chevallier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
