[PATCH 2.6] Fix i2c-core.c with DEBUG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

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

--- linux-2.6.1-k1/drivers/i2c/i2c-core.c	Fri Jan 16 20:10:16 2004
+++ linux-2.6.1-k3/drivers/i2c/i2c-core.c	Sun Jan 18 12:16:46 2004
@@ -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;


-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux