]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix mux compile without debug selected
authorTony Lindgren <tony@atomide.com>
Wed, 6 Feb 2008 17:57:35 +0000 (09:57 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 6 Feb 2008 17:57:35 +0000 (09:57 -0800)
Fix mux compile without debug selected.

We can also optimize out debug field, but the mux stuff
should be all __init with the board-*.c files, so deal
with that later.

Signed-off-by: Tony Lindgren <tony@atomide.com>
include/asm-arm/arch-omap/mux.h

index e5a96c3b57eab20d28fb2f42c74fd4ff5c26a3f9..f216b4d8448a0a81317f61d6318073c2024b2274 100644 (file)
 struct pin_config {
        char                    *name;
        const unsigned int      mux_reg;
+       unsigned char           debug;
 
 #if    defined(CONFIG_ARCH_OMAP34XX)
        u16                     mux_val; /* Wake-up, off mode, pull, mux mode */
@@ -196,7 +197,6 @@ struct pin_config {
 #endif
 
 #if    defined(CONFIG_OMAP_MUX_DEBUG) || defined(CONFIG_OMAP_MUX_WARNINGS)
-       unsigned char debug;
        const char *mux_reg_name;
 #endif