omap2+: mux: Add macro for configuring static with omap_hwmod_mux_init
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-omap2 / mux.h
index 8920fa4775ac2adcd354e36d17d7911f2d21b271..137f321c029f59a240fd885cfd7c8538c59bf9d8 100644 (file)
@@ -186,6 +186,12 @@ struct omap_device_pad {
 
 struct omap_hwmod_mux_info;
 
+#define OMAP_MUX_STATIC(signal, mode)                                  \
+{                                                                      \
+       .name   = (signal),                                             \
+       .enable = (mode),                                               \
+}
+
 #if defined(CONFIG_OMAP_MUX)
 
 /**