drivers: gpio_sam0: Add gpio_driver_data to driver data
Add gpio_driver_data as the first element in the driver data as the gpio core expects this. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
88c23b9f9d
commit
dce2251043
@ -24,6 +24,8 @@ struct gpio_sam0_config {
|
||||
};
|
||||
|
||||
struct gpio_sam0_data {
|
||||
/* gpio_driver_data needs to be first */
|
||||
struct gpio_driver_data common;
|
||||
#ifdef CONFIG_SAM0_EIC
|
||||
sys_slist_t callbacks;
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user