[PATCH] i2c-gpio: Make some internal functions static
- From: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
- Date: Wed, 13 Jun 2007 00:54:38 +0900 (JST)
i2c_gpio_getsda() and i2c_gpio_getscl() are only used in this file.
Signed-off-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
---
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c
index a7dd546..ca74092 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;
-
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/
- Follow-Ups:
- Re: [PATCH] i2c-gpio: Make some internal functions static
- From: Haavard Skinnemoen
- Re: [PATCH] i2c-gpio: Make some internal functions static
- Prev by Date: Re: [PATCH] trim memory not covered by WB MTRRs
- Next by Date: Re: [patch 3/3] Enable Aggressive Link Power management for AHCI controllers.
- Previous by thread: [PATCH] i2c-gpio: Add support for new-style clients
- Next by thread: Re: [PATCH] i2c-gpio: Make some internal functions static
- Index(es):