diff options
Diffstat (limited to 'arch/arm/mach-omap2/mux.c')
-rw-r--r-- | arch/arm/mach-omap2/mux.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 3f59bd12cbbf..19001dd8dd7e 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c | |||
@@ -968,6 +968,13 @@ static void __init omap_mux_init_list(struct omap_mux *superset) | |||
968 | } | 968 | } |
969 | #endif | 969 | #endif |
970 | 970 | ||
971 | #if defined(CONFIG_OMAP_MUX) && defined(CONFIG_DEBUG_FS) | ||
972 | if (!superset->muxnames || !superset->muxnames[0]) { | ||
973 | superset++; | ||
974 | continue; | ||
975 | } | ||
976 | #endif | ||
977 | |||
971 | entry = omap_mux_list_add(superset); | 978 | entry = omap_mux_list_add(superset); |
972 | if (!entry) { | 979 | if (!entry) { |
973 | printk(KERN_ERR "mux: Could not add entry\n"); | 980 | printk(KERN_ERR "mux: Could not add entry\n"); |