Modify mpc5xxx_gpio to include i2c registers
PATCH 1/3 Modify mpc5xxx_gpio to include i2c registers
Modify mpc5xxx_gpio structure to include the i2c output-only enable and data value out registers.
Signed-off-by Eric Millbrandt <[email protected]>
---
A quick string search shows that no in-tree code is currently using any of
the modified fields and the structure size does not change.
include/mpc5xxx.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
include/mpc5xxx.h +4 -4
@@ -691,10 +691,10 @@ struct mpc5xxx_gpio {volatile u32 simple_ddr;/* GPIO + 0x0c */ volatile u32 simple_dvo;/* GPIO + 0x10 */ volatile u32 simple_ival;/* GPIO + 0x14 */ -volatile u8 outo_gpioe;/* GPIO + 0x18 */ -volatile u8 reserved1[3 ];/* GPIO + 0x19 */ -volatile u8 outo_dvo;/* GPIO + 0x1c */ -volatile u8 reserved2[3 ];/* GPIO + 0x1d */ +volatile u16 outo_gpioe;/* GPIO + 0x18 */ +volatile u8 reserved1[2 ];/* GPIO + 0x1a */ +volatile u16 outo_dvo;/* GPIO + 0x1c */ +volatile u8 reserved2[2 ];/* GPIO + 0x1e */ volatile u8 sint_gpioe;/* GPIO + 0x20 */ volatile u8 reserved3[3 ];/* GPIO + 0x21 */ volatile u8 sint_ode;/* GPIO + 0x24 */
Signature · 1 line
1.6.3.1