diff options
author | Johannes Schneider <johannes.schneider@leica-geosystems.com> | 2025-04-23 06:47:24 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-04-24 11:19:35 +0200 |
commit | 607b310ada5ef4c738f9dffc758a62a9d309b084 (patch) | |
tree | a314ddb4f6ae9f911da56ec008ffbd310fb3defb /drivers/gpu/drm/amd/display/dc/dc_plane.h | |
parent | 4fe09ff1a54a7ff8bb789b762b2f9a9fc0d7dba0 (diff) | |
download | linux-607b310ada5ef4c738f9dffc758a62a9d309b084.tar.gz linux-607b310ada5ef4c738f9dffc758a62a9d309b084.tar.bz2 linux-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 <johannes.schneider@leica-geosystems.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250423044724.1284492-1-johannes.schneider@leica-geosystems.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_plane.h')
0 files changed, 0 insertions, 0 deletions