summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sysfs.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2015-05-18 21:09:12 +0200
committerWolfram Sang <wsa@the-dreams.de>2015-08-24 14:05:11 +0200
commitda899f55b359225f85e154765baaddb13ec436ca (patch)
tree00d1db2a93b72e740a30d4127c6170ce6d1e829f /block/blk-mq-sysfs.c
parentc5ebb387f4e6b2dd7c74d71caf7b696834d0c887 (diff)
downloadtalos-op-linux-da899f55b359225f85e154765baaddb13ec436ca.tar.gz
talos-op-linux-da899f55b359225f85e154765baaddb13ec436ca.zip
i2c: apply address offset for slaves, too
We want a separate address range for being an I2C slave. Add an offset of 0x1000, so it can be combined with ten bit addresses as well. Add a separate function to create the address value, we will need it later in other places. Tested-by: Andrey Danin <danindrey@mail.ru> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud