* [2.6 patch] drivers/i2c/chips/ds1337.c: #if 0 an unused function
@ 2005-04-17 20:00 Adrian Bunk
2005-04-17 20:12 ` Jean Delvare
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-04-17 20:00 UTC (permalink / raw)
To: James Chapman; +Cc: greg, khali, sensors, linux-kernel
This patch #if 0's an unused global function.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.12-rc2-mm3-full/drivers/i2c/chips/ds1337.c.old 2005-04-17 18:32:54.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/i2c/chips/ds1337.c 2005-04-17 18:33:16.000000000 +0200
@@ -228,6 +228,7 @@
* Public API for access to specific device. Useful for low-level
* RTC access from kernel code.
*/
+#if 0
int ds1337_do_command(int id, int cmd, void *arg)
{
struct list_head *walk;
@@ -242,6 +243,7 @@
return -ENODEV;
}
+#endif /* 0 */
static int ds1337_attach_adapter(struct i2c_adapter *adapter)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-17 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-17 20:00 [2.6 patch] drivers/i2c/chips/ds1337.c: #if 0 an unused function Adrian Bunk
2005-04-17 20:12 ` Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox