lkml.org 
[lkml]   [2005]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] drivers/i2c/chips/ds1337.c: #if 0 an unused function
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)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-17 22:11    [W:0.022 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site