Skip to contentSkip to conversation

Fix i2c-core.c with DEBUG

PATCH New Jean Delvare 2 participants 2 messages May 19, 2005 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix i2c-core.c with DEBUG

Hi Greg,

At the moment, i2c-core.c fails compiling with DEBUG. Following patch should fix that.

drivers/i2c/i2c-core.c +1 -1
@@ -373,7 +373,7 @@
 	}
 
 	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;
Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
Applied
#1 lore raw

PATCH 1/1 Fix i2c-core.c with DEBUG

Quoted 4 lines · Jean Delvare

Hi Greg,

At the moment, i2c-core.c fails compiling with DEBUG. Following patch should fix that.

Applied, thanks.

greg k-h