aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorJingchang Lu <[email protected]>2013-08-07 17:05:40 +0800
committerWolfram Sang <[email protected]>2013-08-15 16:13:17 +0200
commit8cc7331ff372b9d03f8b2eb1422052bd99430611 (patch)
tree66e705a8e5b33abd0d7d1d920a5018a9ecef926e /net/lapb/lapb_iface.c
parent1d5ef2a83e3097408924b5eea8d7750bbde21e45 (diff)
i2c: imx: change register offset representation
the I2C register offset may different between SoCs, to provid support for all these chips, split the register offset into a fixed base address and a variable shift value, then the full register offset will be calculated by reg_off = ( reg_base_addr << reg_shift) Signed-off-by: Jingchang Lu <[email protected]> Reviewed-by: Sascha Hauer <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions