projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edb6310
)
MIPS: RB532: Disable the right device
author
Phil Sutter
<n0-1@freewrt.org>
Mon, 27 Oct 2008 01:29:57 +0000
(
02:29
+0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 27 Oct 2008 16:18:29 +0000
(16:18 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/rb532/devices.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/rb532/devices.c
b/arch/mips/rb532/devices.c
index 31619c601b113632b6f47aa5beb4603f01785653..2f22d714d5b09487c5535f49cce0018dcda4d070 100644
(file)
--- a/
arch/mips/rb532/devices.c
+++ b/
arch/mips/rb532/devices.c
@@
-280,7
+280,7
@@
static int __init plat_setup_devices(void)
{
/* Look for the CF card reader */
if (!readl(IDT434_REG_BASE + DEV1MASK))
- rb532_devs[
1] = NULL;
+ rb532_devs[
2] = NULL; /* disable cf_slot0 at index 2 */
else {
cf_slot0_res[0].start =
readl(IDT434_REG_BASE + DEV1BASE);