]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: i2c-uclass-compat: fix missed argument
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 27 Jan 2015 12:36:28 +0000 (13:36 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:09:59 +0000 (17:09 -0700)
commit18a7f6aa2dcac7e78436cba148b25779f25f5c16
tree00c48261db3e8d7961b664b77223681d41dff6cc
parentb37b46f042ccfcfb97a9ef8b8a568812640a2a70
dm: i2c-uclass-compat: fix missed argument

This patch fixes build error for CONFIG_DM_I2C_COMPAT.
In i2c_get_chip_for_busnum() call, one of argument was missed,
which was offset_len. Now it is set to 'alen' as previous.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/i2c/i2c-uclass-compat.c