aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2010-03-10 04:41:24 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-04-05 18:25:11 -0400
commit5eb2e891f038c8e04757f4536b9693faf35978a3 (patch)
tree5be8237b1c8f79de629b9d32dac51920edefdad1 /arch/arm
parentd99c3871148cb643cffe138e9427b7a743aca367 (diff)
davinci: da8xx/omap-l1: fix build error when CONFIG_DAVINCI_MUX is undefined
The da8xx/omap-l1 boards refuse to build when CONFIG_DAVINCI_MUX is undefined because arch/arm/mach-davinci/mux.c:da8xx_pinmux_setup() is not defined. This patch fixes this issue. This is build tested with davinci_all_defconfig and da8xx_omapl_defconfig and boot tested on DA830 EVM. Reported-by: Shanmuga Sundaram Mahendran <shanmuga@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-davinci/include/mach/da8xx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h
index cc9be7fee627..b87a6ba0de3c 100644
--- a/arch/arm/mach-davinci/include/mach/da8xx.h
+++ b/arch/arm/mach-davinci/include/mach/da8xx.h
@@ -144,6 +144,10 @@ extern const short da850_mmcsd0_pins[];
144extern const short da850_nand_pins[]; 144extern const short da850_nand_pins[];
145extern const short da850_nor_pins[]; 145extern const short da850_nor_pins[];
146 146
147#ifdef CONFIG_DAVINCI_MUX
147int da8xx_pinmux_setup(const short pins[]); 148int da8xx_pinmux_setup(const short pins[]);
149#else
150static inline int da8xx_pinmux_setup(const short pins[]) { return 0; }
151#endif
148 152
149#endif /* __ASM_ARCH_DAVINCI_DA8XX_H */ 153#endif /* __ASM_ARCH_DAVINCI_DA8XX_H */