Commit 78a43158 authored by Janusz Krzysztofik's avatar Janusz Krzysztofik Committed by Grant Likely
Browse files

gpio/omap: fix build error with certain OMAP1 configs

With commit f64ad1a0

, "gpio/omap: cleanup _set_gpio_wakeup(), remove
ifdefs", access to build time conditionally omitted 'suspend_wakeup'
member of the 'gpio_bank' structure has been placed unconditionally in
function _set_gpio_wakeup(), which is always built. This resulted in the
driver compilation broken for certain OMAP1, i.e., non-OMAP16xx,

Really required or not in previously excluded cases, define this
structure member unconditionally as a fix.

Tested with a custom OMAP1510 only configuration.
Signed-off-by: default avatarJanusz Krzysztofik <>
Acked-by: default avatarKevin Hilman <>
Tested-by: default avatarAaro Koskinen <>
Signed-off-by: default avatarGrant Likely <>
parent 976d1676
......@@ -34,8 +34,8 @@ struct gpio_bank {
u16 irq;
u16 virtual_irq_start;
int method;
u32 suspend_wakeup;
u32 saved_wakeup;
u32 non_wakeup_gpios;
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