From: Paul Walmsley <paul@pwsan.com>
To: lvcargnini@gmail.com, dirk.behme@googlemail.com, tony@atomide.com
Cc: linux-omap-open-source@linux.omap.com
Subject: fix undeclared OMAP2_CTRL_BASE for OMAP MMC driver in OMAP1 compiles
Date: Wed, 24 Oct 2007 23:31:44 -0600 [thread overview]
Message-ID: <20071025053610.715631084@pwsan.com> (raw)
In-Reply-To: 20071025053143.222542615@pwsan.com
[-- Attachment #1: fix_omap2_ctrl_base_mmc_compile_bug.patch --]
[-- Type: text/plain, Size: 861 bytes --]
Remove reference to OMAP2_CTRL_BASE in arch/arm/plat-omap/devices.c
if we aren't building for an OMAP2 platform.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
---
arch/arm/plat-omap/devices.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-omap/arch/arm/plat-omap/devices.c
===================================================================
--- linux-omap.orig/arch/arm/plat-omap/devices.c 2007-08-29 13:53:47.000000000 -0600
+++ linux-omap/arch/arm/plat-omap/devices.c 2007-10-24 23:29:51.000000000 -0600
@@ -339,6 +339,7 @@
omap_cfg_reg(MMC_DAT3);
}
}
+#if defined(CONFIG_ARCH_OMAP24XX)
if (mmc->internal_clock) {
/*
* Use internal loop-back in MMC/SDIO
@@ -350,6 +351,7 @@
omap_writel(v, OMAP2_CONTROL_DEVCONF);
}
}
+#endif
mmc1_conf = *mmc;
(void) platform_device_register(&mmc_omap_device1);
}
--
next prev parent reply other threads:[~2007-10-25 5:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-24 16:58 [PATCH] include/asm-arm/arch-omap/omap24xx.h Luís Cargnini
2007-10-24 17:53 ` Dirk Behme
2007-10-25 5:31 ` Paul Walmsley
2007-10-25 5:31 ` Paul Walmsley [this message]
2007-10-25 5:54 ` Luís Cargnini
2007-10-25 15:28 ` Dirk Behme
2007-10-25 16:00 ` Paul Walmsley
2007-10-31 15:22 ` Tony Lindgren
2007-11-01 8:29 ` Tony Lindgren
2007-11-05 7:57 ` Paul Walmsley
2007-11-05 19:34 ` Dirk Behme
2007-11-06 10:23 ` Paul Walmsley
2007-11-06 12:58 ` Tony Lindgren
2007-11-07 4:21 ` Luís Cargnini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071025053610.715631084@pwsan.com \
--to=paul@pwsan.com \
--cc=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=lvcargnini@gmail.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox