summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-05-05 11:26:00 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-06 01:33:59 +0200
commit850a7503b09304fcc818d5eea51bb7dc51790bc6 (patch)
tree18b99ef654d24f7e0735f0628cc69b019db1bbf4 /drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
parentnet: axienet: Removed coding style errors and warnings (diff)
downloadlinux-850a7503b09304fcc818d5eea51bb7dc51790bc6.tar.xz
linux-850a7503b09304fcc818d5eea51bb7dc51790bc6.zip
net: axienet: Fix comments blocks
There is rule for network drivers with comments blocks which is newly checked by checkpatch.pl script. Let's fix it. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c')
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c b/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
index fce557518b7d..315136db37c9 100644
--- a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
+++ b/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
@@ -183,7 +183,8 @@ int axienet_mdio_setup(struct axienet_local *lp, struct device_node *np)
clk_div = (host_clock / (MAX_MDIO_FREQ * 2)) - 1;
/* If there is any remainder from the division of
* fHOST / (MAX_MDIO_FREQ * 2), then we need to add
- * 1 to the clock divisor or we will surely be above 2.5 MHz */
+ * 1 to the clock divisor or we will surely be above 2.5 MHz
+ */
if (host_clock % (MAX_MDIO_FREQ * 2))
clk_div++;