drivers: gpio_cmsdk_ahb: 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
be17245419
commit
5a34407daa
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ struct gpio_cmsdk_ahb_cfg {
|
|||
};
|
||||
|
||||
struct gpio_cmsdk_ahb_dev_data {
|
||||
/* gpio_driver_data needs to be first */
|
||||
struct gpio_driver_data common;
|
||||
/* list of callbacks */
|
||||
sys_slist_t gpio_cb;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue