summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/net/phy/amd-xgbe-phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/amd-xgbe-phy.c b/drivers/net/phy/amd-xgbe-phy.c
index d4b1c81610dd..b57c22442867 100644
--- a/drivers/net/phy/amd-xgbe-phy.c
+++ b/drivers/net/phy/amd-xgbe-phy.c
@@ -1350,7 +1350,7 @@ static void __exit amd_xgbe_phy_exit(void)
module_init(amd_xgbe_phy_init);
module_exit(amd_xgbe_phy_exit);
-static struct mdio_device_id amd_xgbe_phy_ids[] = {
+static struct mdio_device_id __maybe_unused amd_xgbe_phy_ids[] = {
{ XGBE_PHY_ID, XGBE_PHY_MASK },
{ }
};