diff options
author | John Crispin <john@openwrt.org> | 2014-09-12 06:51:26 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-09-12 06:51:26 +0000 |
commit | 7aaaef6b4a1d716341267eea7de9a74a28a7ca63 (patch) | |
tree | bc453f0dddb9af4032716c8356fb72eae06b03a8 /target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch | |
parent | 5b4e53f59f4a298d2f1b5517810381909af59769 (diff) | |
download | upstream-7aaaef6b4a1d716341267eea7de9a74a28a7ca63.tar.gz upstream-7aaaef6b4a1d716341267eea7de9a74a28a7ca63.tar.bz2 upstream-7aaaef6b4a1d716341267eea7de9a74a28a7ca63.zip |
atheros: add blank line after declarations
as suggested by checkpach.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42486
Diffstat (limited to 'target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch')
-rw-r--r-- | target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch b/target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch index bda0ce3258..42812ff23a 100644 --- a/target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch +++ b/target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch @@ -33,7 +33,7 @@ +obj-$(CONFIG_NET_AR231X) += ar231x.o --- /dev/null +++ b/drivers/net/ethernet/atheros/ar231x/ar231x.c -@@ -0,0 +1,1250 @@ +@@ -0,0 +1,1254 @@ +/* + * ar231x.c: Linux driver for the Atheros AR231x Ethernet device. + * @@ -375,6 +375,7 @@ +{ + struct net_device *dev = platform_get_drvdata(pdev); + struct ar231x_private *sp = netdev_priv(dev); ++ + rx_tasklet_cleanup(dev); + ar231x_init_cleanup(dev); + unregister_netdev(dev); @@ -416,6 +417,7 @@ +static void ar231x_free_descriptors(struct net_device *dev) +{ + struct ar231x_private *sp = netdev_priv(dev); ++ + if (sp->rx_ring != NULL) { + kfree((void *)KSEG0ADDR(sp->rx_ring)); + sp->rx_ring = NULL; @@ -458,6 +460,7 @@ + /* Initialize the transmit Descriptors */ + for (j = 0; j < AR2313_DESCR_ENTRIES; j++) { + ar231x_descr_t *td = &sp->tx_ring[j]; ++ + td->status = 0; + td->devcs = DMA_TX1_CHAINED; + td->addr = 0; @@ -945,6 +948,7 @@ + tasklet_hi_schedule(&sp->rx_tasklet); + } else { + unsigned long flags; ++ + spin_lock_irqsave(&sp->lock, flags); + sp->dma_regs->intr_ena |= DMA_STATUS_RI; + spin_unlock_irqrestore(&sp->lock, flags); |