git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: rework mode pin code
[pandora-kernel.git]
/
arch
/
sh
/
kernel
/
setup.c
diff --git
a/arch/sh/kernel/setup.c
b/arch/sh/kernel/setup.c
index
050131e
..
dd38338
100644
(file)
--- a/
arch/sh/kernel/setup.c
+++ b/
arch/sh/kernel/setup.c
@@
-429,7
+429,7
@@
int generic_mode_pins(void)
int test_mode_pin(int pin)
{
- return sh_mv.mv_mode_pins() &
(1 << pin)
;
+ return sh_mv.mv_mode_pins() &
pin
;
}
static const char *cpu_name[] = {