summaryrefslogtreecommitdiffstats
path: root/arch/mips/rb532
diff options
context:
space:
mode:
authorPhil Sutter <n0-1@freewrt.org>2008-10-27 02:29:57 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-10-27 17:18:29 +0100
commitbc4c4e832a203f66959e5eb2ecc56b0b9525173e (patch)
treed847868b970d8e65f3bb3ca23b7aa7087ff9b314 /arch/mips/rb532
parentMIPS: Add support for NXP PNX833x (STB222/5) into linux kernel (diff)
downloadlinux-bc4c4e832a203f66959e5eb2ecc56b0b9525173e.tar.xz
linux-bc4c4e832a203f66959e5eb2ecc56b0b9525173e.zip
MIPS: RB532: Disable the right device
Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/rb532')
-rw-r--r--arch/mips/rb532/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/rb532/devices.c b/arch/mips/rb532/devices.c
index 31619c601b11..2f22d714d5b0 100644
--- 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);