projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eaa7bb
)
ARM: OMAP2+: Fix omap24xx_io_desc warning if SoC subtypes are not selected
author
Tony Lindgren
<tony@atomide.com>
Tue, 6 Mar 2012 19:49:22 +0000
(11:49 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 6 Mar 2012 19:49:22 +0000
(11:49 -0800)
Otherwise we get the following warning:
arch/arm/mach-omap2/io.c:53:24: warning:
'omap24xx_io_desc' defined but not used [-Wunused-variable]
Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/io.c
b/arch/arm/mach-omap2/io.c
index 9bd07f33eea77cfd0a5d4c54bee0d93fd7d6bb84..3fbb0c0b84a40c61488daa0f0d83d49337dd0646 100644
(file)
--- a/
arch/arm/mach-omap2/io.c
+++ b/
arch/arm/mach-omap2/io.c
@@
-49,7
+49,7
@@
* default mapping provided here.
*/
-#if
def CONFIG_ARCH_OMAP2
+#if
defined(CONFIG_SOC_OMAP2420) || defined(CONFIG_SOC_OMAP2430)
static struct map_desc omap24xx_io_desc[] __initdata = {
{
.virtual = L3_24XX_VIRT,