[Compile Regression in 2.4.25-pre8][PATCH 8/42]

From: Kronos
Date: Mon Feb 02 2004 - 14:45:58 EST



cpqfcTSi2c.c:62: warning: `i2c_delay' declared `static' but never defined

i2c_delay isn't defined, remove useless prototype.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/scsi/cpqfcTSi2c.c linux-2.4/drivers/scsi/cpqfcTSi2c.c
--- linux-2.4-vanilla/drivers/scsi/cpqfcTSi2c.c Fri Jun 13 16:51:36 2003
+++ linux-2.4/drivers/scsi/cpqfcTSi2c.c Sat Jan 31 17:00:03 2004
@@ -59,7 +59,6 @@
#define SLAVE_WRITE_ADDRESS 0xA0


-static void i2c_delay(u32 mstime);
static void tl_i2c_clock_pulse(u8, void *GPIOout);
static u8 tl_read_i2c_data(void *);

--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
You and me baby ain't nothin' but mammals
So let's do it like they do on the Discovery Channel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/