aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-h4.c
diff options
context:
space:
mode:
authorAaro Koskinen <Aaro.Koskinen@nokia.com>2010-12-02 08:25:40 -0500
committerTony Lindgren <tony@atomide.com>2010-12-02 20:03:41 -0500
commit7203f8a48bb63015ebe58a6f2a38aec1cb208b9d (patch)
treef421e66b49f699ab397497f90739df3281a18f25 /arch/arm/mach-omap2/board-h4.c
parent52aa8c539dad56728527de664f368915ff44badf (diff)
arm: mach-omap2: remove NULL board_mux from board files
If CONFIG_OMAP_MUX is not enabled, we can define board_mux in the header file instead of forcing every single board to define it. Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> [tony@atomide.com: updated for combined board-zoom files] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-h4.c')
-rw-r--r--arch/arm/mach-omap2/board-h4.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c
index 929993b4bf26..263da1da181c 100644
--- a/arch/arm/mach-omap2/board-h4.c
+++ b/arch/arm/mach-omap2/board-h4.c
@@ -321,8 +321,6 @@ static struct i2c_board_info __initdata h4_i2c_board_info[] = {
321static struct omap_board_mux board_mux[] __initdata = { 321static struct omap_board_mux board_mux[] __initdata = {
322 { .reg_offset = OMAP_MUX_TERMINATOR }, 322 { .reg_offset = OMAP_MUX_TERMINATOR },
323}; 323};
324#else
325#define board_mux NULL
326#endif 324#endif
327 325
328static void __init omap_h4_init(void) 326static void __init omap_h4_init(void)