diff options
author | Aaro Koskinen <Aaro.Koskinen@nokia.com> | 2010-12-02 08:25:40 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-12-02 20:03:41 -0500 |
commit | 7203f8a48bb63015ebe58a6f2a38aec1cb208b9d (patch) | |
tree | f421e66b49f699ab397497f90739df3281a18f25 /arch/arm/mach-omap2/board-h4.c | |
parent | 52aa8c539dad56728527de664f368915ff44badf (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.c | 2 |
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[] = { | |||
321 | static struct omap_board_mux board_mux[] __initdata = { | 321 | static 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 | ||
328 | static void __init omap_h4_init(void) | 326 | static void __init omap_h4_init(void) |