Commit d12a00e6 authored by Tony Lindgren's avatar Tony Lindgren

I2C: Fix isp1301_omap.c compile

Fix isp1301_omap.c compile
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 45cae183
...@@ -1210,7 +1210,7 @@ static void isp1301_release(struct device *dev) ...@@ -1210,7 +1210,7 @@ static void isp1301_release(struct device *dev)
{ {
struct isp1301 *isp; struct isp1301 *isp;
isp = device_get_drvdata(dev); isp = dev_get_drvdata(dev);
/* ugly -- i2c hijacks our memory hook to wait_for_completion() */ /* ugly -- i2c hijacks our memory hook to wait_for_completion() */
if (isp->i2c_release) if (isp->i2c_release)
...@@ -1564,7 +1564,7 @@ static int __init isp1301_probe(struct i2c_client *i2c) ...@@ -1564,7 +1564,7 @@ static int __init isp1301_probe(struct i2c_client *i2c)
if (machine_is_omap_h2()) { if (machine_is_omap_h2()) {
/* full speed signaling by default */ /* full speed signaling by default */
isp1301_set_bits(isp, ISP1301_MODE_CONTROL_1, isp1301_set_bits(isp, ISP1301_MODE_CONTROL_1,
MC1_SPEED_REG); MC1_SPEED);
isp1301_set_bits(isp, ISP1301_MODE_CONTROL_2, isp1301_set_bits(isp, ISP1301_MODE_CONTROL_2,
MC2_SPD_SUSP_CTRL); MC2_SPD_SUSP_CTRL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment