drivers: gpio_cc32xx: 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
f30e4efd7a
commit
be17245419
|
@ -33,6 +33,8 @@ struct gpio_cc32xx_config {
|
|||
};
|
||||
|
||||
struct gpio_cc32xx_data {
|
||||
/* gpio_driver_data needs to be first */
|
||||
struct gpio_driver_data common;
|
||||
/* list of registered callbacks */
|
||||
sys_slist_t callbacks;
|
||||
/* callback enable pin bitmask */
|
||||
|
|
Loading…
Reference in a new issue