diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-07-12 08:12:30 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-07-12 08:12:30 -0400 |
commit | 4d6ceed4426cd85e1203a3153246334a3537f92b (patch) | |
tree | 5141b914231c6bd7b6fe8b679f0134f420da0cec /drivers/i2c | |
parent | 7e69c3ac93a9a7aa29dab7179f86da67db7b0ca3 (diff) |
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 <anemo@mba.ocn.ne.jp>
Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c index d6dbd6ace21d..025f19423faf 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) | |||
63 | gpio_set_value(pdata->scl_pin, state); | 63 | gpio_set_value(pdata->scl_pin, state); |
64 | } | 64 | } |
65 | 65 | ||
66 | int i2c_gpio_getsda(void *data) | 66 | static int i2c_gpio_getsda(void *data) |
67 | { | 67 | { |
68 | struct i2c_gpio_platform_data *pdata = data; | 68 | struct i2c_gpio_platform_data *pdata = data; |
69 | 69 | ||
70 | return gpio_get_value(pdata->sda_pin); | 70 | return gpio_get_value(pdata->sda_pin); |
71 | } | 71 | } |
72 | 72 | ||
73 | int i2c_gpio_getscl(void *data) | 73 | static int i2c_gpio_getscl(void *data) |
74 | { | 74 | { |
75 | struct i2c_gpio_platform_data *pdata = data; | 75 | struct i2c_gpio_platform_data *pdata = data; |
76 | 76 | ||