summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/generic-phy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/generic-phy.h b/include/generic-phy.h
index ff48b370819..d40ce589b64 100644
--- a/include/generic-phy.h
+++ b/include/generic-phy.h
@@ -155,7 +155,7 @@ struct phy_bulk {
unsigned int count;
};
-#ifdef CONFIG_PHY
+#if CONFIG_IS_ENABLED(PHY)
/**
* generic_phy_init() - initialize the PHY port