summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cb710
diff options
context:
space:
mode:
authorPierre Ossman <pierre@ossman.eu>2009-06-04 07:58:57 +0200
committerPierre Ossman <pierre@ossman.eu>2009-06-13 22:42:58 +0200
commit10eb4f901cacf7da87145330f3ca77b723783497 (patch)
tree9dafc44aca092cbd09501125320398db5bb0b269 /drivers/misc/cb710
parent09adfe454c87e3ec5dffbc42567cd7b4b4948522 (diff)
downloadop-kernel-dev-10eb4f901cacf7da87145330f3ca77b723783497.zip
op-kernel-dev-10eb4f901cacf7da87145330f3ca77b723783497.tar.gz
cb710: add missing parenthesis
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers/misc/cb710')
-rw-r--r--drivers/misc/cb710/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cb710/debug.c b/drivers/misc/cb710/debug.c
index 9da11bc..02358d0 100644
--- a/drivers/misc/cb710/debug.c
+++ b/drivers/misc/cb710/debug.c
@@ -37,7 +37,7 @@ static void cb710_read_regs_##t(void __iomem *iobase, \
unsigned i, j; \
\
for (i = 0; i < ARRAY_SIZE(allow); ++i, reg += 16/(t/8)) { \
- if (!select & (1 << i)) \
+ if (!(select & (1 << i))) \
continue; \
\
for (j = 0; j < 0x10/(t/8); ++j) { \
OpenPOWER on IntegriCloud