drivers: gpio_intel_apl: 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:
Kumar Gala 2019-09-20 07:36:12 -05:00 committed by Carles Cufí
commit af66e1dccd

View file

@ -103,6 +103,8 @@ struct gpio_intel_apl_config {
};
struct gpio_intel_apl_data {
/* gpio_driver_data needs to be first */
struct gpio_driver_data common;
/* Pad base address */
u32_t pad_base;