Messages in this thread Patch in this message | | | Date | Sun, 17 Apr 2005 22:00:56 +0200 | From | Adrian Bunk <> | 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/
| |