|
@@ -23,6 +23,7 @@
|
|
struct gen_74x164_chip {
|
|
struct gen_74x164_chip {
|
|
struct gpio_chip gpio_chip;
|
|
struct gpio_chip gpio_chip;
|
|
struct mutex lock;
|
|
struct mutex lock;
|
|
|
|
+ struct gpio_desc *gpiod_oe;
|
|
u32 registers;
|
|
u32 registers;
|
|
/*
|
|
/*
|
|
* Since the registers are chained, every byte sent will make
|
|
* Since the registers are chained, every byte sent will make
|
|
@@ -31,8 +32,7 @@ struct gen_74x164_chip {
|
|
* register at the end of the transfer. So, to have a logical
|
|
* register at the end of the transfer. So, to have a logical
|
|
* numbering, store the bytes in reverse order.
|
|
* numbering, store the bytes in reverse order.
|
|
*/
|
|
*/
|
|
- u8 buffer[0];
|
|
|
|
- struct gpio_desc *gpiod_oe;
|
|
|
|
|
|
+ u8 buffer[];
|
|
};
|
|
};
|
|
|
|
|
|
static int __gen_74x164_write_config(struct gen_74x164_chip *chip)
|
|
static int __gen_74x164_write_config(struct gen_74x164_chip *chip)
|