i.MX: i2c: fix i2c-fsl for non-OF boards
With commit 4ed5b778a56b ("i.MX: i2c: Add Vybrid support") i2c-fsl probe
returns -EINVAL for all non-OF boards.
Since newer planforms, especially vf610 are restricted OF-only it is safe to
assume "fsl,imx21-i2c" if CONFIG_OFDEVICE is not set.

Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4afb09c commit 45164aadfaccf3c138e6a0f3d93df05ddb3a52aa
@Alexander Kurz Alexander Kurz authored on 11 Feb 2017
Sascha Hauer committed on 14 Feb 2017
Showing 1 changed file
View
drivers/i2c/busses/i2c-imx.c