summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>2013-04-08 06:10:00 +0400
committerDavid S. Miller <davem@davemloft.net>2013-04-09 00:55:27 +0400
commit32ceabcad3c8abd46de033778497c2e77a097554 (patch)
tree47dc2f3233685a3456bf49d56341e1113a7dac20 /drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c
parent49cfbf675cd18330cef3c4613e890b0044510e95 (diff)
downloadlinux-32ceabcad3c8abd46de033778497c2e77a097554.tar.xz
stmmac: improve/review and fix kernel-doc
this patch reviews/improves and adds some fixes in the code doc. Also kernel-doc passes w/o any warnings. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c
index 93d4beff92c7..b8b0eeed0f92 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c
@@ -174,9 +174,7 @@ static struct ptp_clock_info stmmac_ptp_clock_ops = {
/**
* stmmac_ptp_register
- *
- * @ndev: net device pointer
- *
+ * @priv: driver private structure
* Description: this function will register the ptp clock driver
* to kernel. It also does some house keeping work.
*/
@@ -199,9 +197,7 @@ int stmmac_ptp_register(struct stmmac_priv *priv)
/**
* stmmac_ptp_unregister
- *
- * @ndev: net device pointer
- *
+ * @priv: driver private structure
* Description: this function will remove/unregister the ptp clock driver
* from the kernel.
*/