summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2009-11-09 11:43:18 -0800
committerBen Warren <biggerbadderben@gmail.com>2009-11-09 11:43:18 -0800
commit830c7b6722c6a9762411bf52a7bf2fae4dc71dab (patch)
treec52be5be2975e5e49cc4d9f5074b30fe429e1886
parente5c5d9e0834bacf1c4787fa76cc4e369f2597cf5 (diff)
Fix CS8900 regression on impa7 board
The following error was seen on impa7 board, due to its use of a 32-bit bus on CS8900. cs8900.c:137:37: error: macro "get_reg_init_bus" passed 2 arguments, but takes just 1 This patch gives the macro the correct number of arguments Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
-rw-r--r--drivers/net/cs8900.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c
index a9d1f22734..df360042be 100644
--- a/drivers/net/cs8900.c
+++ b/drivers/net/cs8900.c
@@ -56,7 +56,7 @@
#define REG_READ(a) readl((a))
/* we don't need 16 bit initialisation on 32 bit bus */
-#define get_reg_init_bus(x) get_reg((x))
+#define get_reg_init_bus(r,d) get_reg((r),(d))
#else