Commit 44a98b72 authored by Jean Delvare's avatar Jean Delvare Committed by Tom Rini

[PATCH] I2C: Fix i2c-core.c with DEBUG

At the moment, i2c-core.c fails compiling with DEBUG. Following patch
should fix that.
parent 33e96c3f
......@@ -373,7 +373,7 @@ int i2c_attach_client(struct i2c_client *client)
}
DEB(dev_dbg(&adapter->dev, "client [%s] registered to adapter\n",
client->dev.name));
client->name));
if (client->flags & I2C_CLIENT_ALLOW_USE)
client->usage_count = 0;
......
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