]> git.sur5r.net Git - u-boot/commit
drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL is enable
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 18 Jul 2016 09:40:58 +0000 (15:10 +0530)
committerHeiko Schocher <hs@denx.de>
Tue, 26 Jul 2016 06:39:35 +0000 (08:39 +0200)
commit5142ac791608a5e166f3f1b76b19adcd01aceabc
tree26bd74efcb4dbe023a28075e828464ccdcc21410
parent7fb825f5b112713f572917fa7e89aac2b5b9c7b4
drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL is enable

parse dt parameter of i2c devices only when CONFIG_OF_CONTROL
is enabled.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/i2c/i2c-uclass.c