[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201215083751.628794-1-ciorneiioana@gmail.com>
Date: Tue, 15 Dec 2020 10:37:51 +0200
From: Ioana Ciornei <ciorneiioana@...il.com>
To: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org
Cc: sfr@...b.auug.org.au, linux-next@...r.kernel.org,
Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH] net: phy: fix kernel-doc for .config_intr()
From: Ioana Ciornei <ioana.ciornei@....com>
Fix the kernel-doc for .config_intr() so that we do not trigger a
warning like below.
include/linux/phy.h:869: warning: Function parameter or member 'config_intr' not described in 'phy_driver'
Fixes: 6527b938426f ("net: phy: remove the .did_interrupt() and .ack_interrupt() callback")
Signed-off-by: Ioana Ciornei <ioana.ciornei@....com>
---
include/linux/phy.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 381a95732b6a..9effb511acde 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -743,7 +743,8 @@ struct phy_driver {
/** @read_status: Determines the negotiated speed and duplex */
int (*read_status)(struct phy_device *phydev);
- /** @config_intr: Enables or disables interrupts.
+ /**
+ * @config_intr: Enables or disables interrupts.
* It should also clear any pending interrupts prior to enabling the
* IRQs and after disabling them.
*/
--
2.28.0
Powered by blists - more mailing lists