From: Atsushi Nemoto Date: Thu, 12 Jul 2007 12:12:30 +0000 (+0200) Subject: i2c-gpio: Make some internal functions static X-Git-Tag: v2.6.23-rc1~1112^2~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d6ceed4426cd85e1203a3153246334a3537f92b;p=linux-2.6 i2c-gpio: Make some internal functions static i2c_gpio_getsda() and i2c_gpio_getscl() are only used in this file. Signed-off-by: Atsushi Nemoto Acked-by: Haavard Skinnemoen Signed-off-by: Jean Delvare --- diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c index d6dbd6ace2..025f19423f 100644 --- a/drivers/i2c/busses/i2c-gpio.c +++ b/drivers/i2c/busses/i2c-gpio.c @@ -63,14 +63,14 @@ static void i2c_gpio_setscl_val(void *data, int state) gpio_set_value(pdata->scl_pin, state); } -int i2c_gpio_getsda(void *data) +static int i2c_gpio_getsda(void *data) { struct i2c_gpio_platform_data *pdata = data; return gpio_get_value(pdata->sda_pin); } -int i2c_gpio_getscl(void *data) +static int i2c_gpio_getscl(void *data) { struct i2c_gpio_platform_data *pdata = data;