drivers: gpio_mmio32: 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
9736d8dee2
commit
cb9c3efaad
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ struct gpio_mmio32_config {
|
|||
};
|
||||
|
||||
struct gpio_mmio32_context {
|
||||
/* gpio_driver_data needs to be first */
|
||||
struct gpio_driver_data common;
|
||||
const struct gpio_mmio32_config *config;
|
||||
u32_t invert; /* Mask of 'reg' bits that should be inverted */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue