dm: i2c: Add two more I2C init functions to the compatibility layer
authorSimon Glass <sjg@chromium.org>
Tue, 27 Jan 2015 03:29:39 +0000 (20:29 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:10:01 +0000 (17:10 -0700)
commitd744d5613639088246b27edb9ce91ccbd663e5a5
tree864c6ef38e0c9a231d59ebc4c076fc3592e70a17
parentbd768264fb6d8f91727ed6cad9c3a09c8021cbc5
dm: i2c: Add two more I2C init functions to the compatibility layer

These functions are useful in case the board calls them. Also fix a missing
parameter caused by applying the wrong patch (actually I failed to send v2
and applied v1 by mistake).

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/i2c/i2c-uclass-compat.c
include/i2c.h