summaryrefslogtreecommitdiff
path: root/include/linux/i2c-ocores.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/i2c-ocores.h')
-rw-r--r--include/linux/i2c-ocores.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/i2c-ocores.h b/include/linux/i2c-ocores.h
index 4d5e57ff6614..1c06b5c7c308 100644
--- a/include/linux/i2c-ocores.h
+++ b/include/linux/i2c-ocores.h
@@ -12,7 +12,8 @@
#define _LINUX_I2C_OCORES_H
struct ocores_i2c_platform_data {
- u32 regstep; /* distance between registers */
+ u32 reg_shift; /* register offset shift value */
+ u32 reg_io_width; /* register io read/write width */
u32 clock_khz; /* input clock in kHz */
u8 num_devices; /* number of devices in the devices list */
struct i2c_board_info const *devices; /* devices connected to the bus */