]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: i2c: Add compatibility functions for dm_i2c_reg_read/write()
authorSimon Glass <sjg@chromium.org>
Sat, 16 May 2015 21:01:41 +0000 (15:01 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:42:36 +0000 (00:42 +0200)
commit1663ad50867834442006a8761f000e502ac2f599
tree08a67dad3a42b0f1ba907fb28951a4118175ba2a
parentffefd8e5040e61f9335c2bd50dcd13a536170a12
dm: i2c: Add compatibility functions for dm_i2c_reg_read/write()

Add the legacy i2c_reg_read/write() functions to the compatibility layer
so that they can be used when CONFIG_DM_I2C_COMPAT is defined.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-uclass-compat.c
include/i2c.h