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:
parent
dfbb8fa5f1
commit
af66e1dccd
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue