drivers: gpio_esp32: Drop IRAM_ATTR from forward declarations
This commit drops the `IRAM_ATTR` macro from the function declarations because: 1. `IRAM_ATTR` macro makes use of the `__COUNTER__` preprocessor macro, which increments for every macro invocation and causes the section specified in the forward declaration to not match that of the function definition. 2. Section attributes need not be specified for forward declarations. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
e54224ddab
commit
11d27f12ad
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ static void IRAM_ATTR gpio_esp32_fire_callbacks(const struct device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
static void IRAM_ATTR gpio_esp32_isr(void *param);
|
||||
static void gpio_esp32_isr(void *param);
|
||||
|
||||
static int gpio_esp32_init(const struct device *dev)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue