From 44a98b7218d9983886fb56059832f3ca5929f559 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sun, 18 Jan 2004 20:49:57 -0800 Subject: [PATCH] [PATCH] I2C: Fix i2c-core.c with DEBUG At the moment, i2c-core.c fails compiling with DEBUG. Following patch should fix that. --- drivers/i2c/i2c-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 9553fdfa97682..0570c2a80e7b3 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c @@ -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; -- 2.53.0