[PATCH] drivers/i2c/chips/eeprom.c - missing static

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

 



eeprom_detect is first declared static and then when
the function is actually implemented, there is no
static.

Signed-off-by: Ben Dooks <ben-linux at fluff.org>
-------------- next part --------------
--- linux-2.6.14-rc4-bjd1/drivers/i2c/chips/eeprom.c	2005-10-11 10:56:32.000000000 +0100
+++ linux-2.6.14-rc4-bjd2/drivers/i2c/chips/eeprom.c	2005-10-13 11:11:40.000000000 +0100
@@ -155,7 +155,7 @@ static int eeprom_attach_adapter(struct 
 }
 
 /* This function is called by i2c_probe */
-int eeprom_detect(struct i2c_adapter *adapter, int address, int kind)
+static int eeprom_detect(struct i2c_adapter *adapter, int address, int kind)
 {
 	struct i2c_client *new_client;
 	struct eeprom_data *data;


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

  Powered by Linux