summaryrefslogtreecommitdiffstats
path: root/drivers/net/au1000_eth.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-04-06 22:09:06 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-07 02:07:49 -0700
commit2cc3c6b1bc2d68ddb003a94f7313999f7984735f (patch)
treeac4b09a37bc388062e7da1c94981324cff1f8382 /drivers/net/au1000_eth.h
parenteb0496308f22093d5b3ce6c9d591233047f41d39 (diff)
downloadop-kernel-dev-2cc3c6b1bc2d68ddb003a94f7313999f7984735f.zip
op-kernel-dev-2cc3c6b1bc2d68ddb003a94f7313999f7984735f.tar.gz
au1000-eth: fix checkpatch errors.
This patch fixes multiple errors reported by checkpatch: - else not on the ending brace of an if { } - multiple occurences of for( instead of for ( - c99 comments - assignment and tests on the same line - test and statements on the same line - macro with complex value not between parenthesis - static variable with initialization value No functionnal change. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/au1000_eth.h')
-rw-r--r--drivers/net/au1000_eth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/au1000_eth.h b/drivers/net/au1000_eth.h
index f9d29a2..344c600 100644
--- a/drivers/net/au1000_eth.h
+++ b/drivers/net/au1000_eth.h
@@ -35,7 +35,7 @@
#define NUM_TX_BUFFS 4
#define MAX_BUF_SIZE 2048
-#define ETH_TX_TIMEOUT HZ/4
+#define ETH_TX_TIMEOUT (HZ/4)
#define MAC_MIN_PKT_SIZE 64
#define MULTICAST_FILTER_LIMIT 64
OpenPOWER on IntegriCloud