summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc91x.h
diff options
context:
space:
mode:
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>2006-12-04 15:04:56 -0800
committerJeff Garzik <jeff@garzik.org>2006-12-04 18:36:03 -0500
commit59dc76a4e3bed66f5be474dcdc81cc39c7290cec (patch)
treedbeb452b8eac66a990dbeabc5723618f77708a01 /drivers/net/smc91x.h
parent043d58064ac6556a3abd3a74201831f3e9a5b6e8 (diff)
downloadop-kernel-dev-59dc76a4e3bed66f5be474dcdc81cc39c7290cec.zip
op-kernel-dev-59dc76a4e3bed66f5be474dcdc81cc39c7290cec.tar.gz
[PATCH] net: smc91x add missing bracket
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/smc91x.h')
-rw-r--r--drivers/net/smc91x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h
index d28adf2..9367c57 100644
--- a/drivers/net/smc91x.h
+++ b/drivers/net/smc91x.h
@@ -238,7 +238,7 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg)
#define SMC_CAN_USE_16BIT 1
#define SMC_CAN_USE_32BIT 0
-#define SMC_inb(a, r) inb((u32)a) + (r))
+#define SMC_inb(a, r) inb(((u32)a) + (r))
#define SMC_inw(a, r) inw(((u32)a) + (r))
#define SMC_outb(v, a, r) outb(v, ((u32)a) + (r))
#define SMC_outw(v, a, r) outw(v, ((u32)a) + (r))
OpenPOWER on IntegriCloud