Commit 6fc38366 authored by Kyungmin Park's avatar Kyungmin Park Committed by Tony Lindgren

ARM: OMAP: Make dummy wrapper if the OMAP_GPIO_SWITCH is not set

OMAP_GPIO_SIWTCH is optional, so omap_reister_gpio_switches will be null.
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d6737278
......@@ -48,7 +48,11 @@ struct omap_gpio_switch {
};
/* Call at init time only */
#ifdef CONFIG_OMAP_GPIO_SWITCH
extern void omap_register_gpio_switches(const struct omap_gpio_switch *tbl,
int count);
#else
#define omap_register_gpio_switches(tbl, count) do { } while (0)
#endif
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment