drivers: gpio_ht16k33: 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
22042ad75c
commit
bd06f0835a
|
@ -29,6 +29,8 @@ struct gpio_ht16k33_cfg {
|
|||
};
|
||||
|
||||
struct gpio_ht16k33_data {
|
||||
/* gpio_driver_data needs to be first */
|
||||
struct gpio_driver_data common;
|
||||
struct device *parent;
|
||||
sys_slist_t callbacks;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue