summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJayachandran C <jayachandranc@netlogicmicro.com>2012-07-13 15:44:24 +0200
committerWolfram Sang <w.sang@pengutronix.de>2012-07-14 13:30:25 +0200
commitd739a464f3b83cc879a2ba6aec33634c44068531 (patch)
tree3ede30a3cc446f4acc3784cc6eb390ce4dca7411
parenti2c: i2c-ocores: Use reg-shift property (diff)
downloadlinux-d739a464f3b83cc879a2ba6aec33634c44068531.tar.xz
linux-d739a464f3b83cc879a2ba6aec33634c44068531.zip
V4L/DVB: mfd: use reg_shift instead of regstep
Update for change in i2c-ocores.h which uses reg_shift to specify the register offset shifts instead of regstep. Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com> Acked-by: Richard Rojfors <richard.rojfors@pelagicore.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
-rw-r--r--drivers/mfd/timberdale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c
index 0ba26fb12cf5..a447f4ec11fb 100644
--- a/drivers/mfd/timberdale.c
+++ b/drivers/mfd/timberdale.c
@@ -83,7 +83,7 @@ timberdale_xiic_platform_data = {
static __devinitdata struct ocores_i2c_platform_data
timberdale_ocores_platform_data = {
- .regstep = 4,
+ .reg_shift = 2,
.clock_khz = 62500,
.devices = timberdale_i2c_board_info,
.num_devices = ARRAY_SIZE(timberdale_i2c_board_info)