[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221220131921.806365-2-enguerrand.de-ribaucourt@savoirfairelinux.com>
Date:   Tue, 20 Dec 2022 14:19:21 +0100
From:   Enguerrand de Ribaucourt 
        <enguerrand.de-ribaucourt@...oirfairelinux.com>
To:     netdev@...r.kernel.org
Cc:     pabeni@...hat.com, woojung.huh@...rochip.com, davem@...emloft.net,
        UNGLinuxDriver@...rochip.com,
        Enguerrand de Ribaucourt 
        <enguerrand.de-ribaucourt@...oirfairelinux.com>
Subject: [PATCH v3 1/3] net: phy: add EXPORT_SYMBOL to phy_disable_interrupts()
It seems EXPORT_SYMBOL was forgotten when phy_disable_interrupts() was
made non static. For consistency with the other exported functions in
this file, EXPORT_SYMBOL should be used.
Fixes: 3dd4ef1bdbac ("net: phy: make phy_disable_interrupts() non-static")
Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@...oirfairelinux.com>
---
 drivers/net/phy/phy.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index e5b6cb1a77f9..33250da76466 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -992,6 +992,7 @@ int phy_disable_interrupts(struct phy_device *phydev)
 	/* Disable PHY interrupts */
 	return phy_config_interrupt(phydev, PHY_INTERRUPT_DISABLED);
 }
+EXPORT_SYMBOL(phy_disable_interrupts);
 
 /**
  * phy_interrupt - PHY interrupt handler
-- 
2.25.1
Powered by blists - more mailing lists