Commit 6b495ada authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] bttv-i2c.c: make two functions static

The patch below makes two functions in drivers/media/video/bttv-i2c.c without
external users static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 66160bc5
...@@ -51,7 +51,7 @@ MODULE_PARM_DESC(i2c_scan,"scan i2c bus at insmod time"); ...@@ -51,7 +51,7 @@ MODULE_PARM_DESC(i2c_scan,"scan i2c bus at insmod time");
/* ----------------------------------------------------------------------- */ /* ----------------------------------------------------------------------- */
/* I2C functions - bitbanging adapter (software i2c) */ /* I2C functions - bitbanging adapter (software i2c) */
void bttv_bit_setscl(void *data, int state) static void bttv_bit_setscl(void *data, int state)
{ {
struct bttv *btv = (struct bttv*)data; struct bttv *btv = (struct bttv*)data;
...@@ -63,7 +63,7 @@ void bttv_bit_setscl(void *data, int state) ...@@ -63,7 +63,7 @@ void bttv_bit_setscl(void *data, int state)
btread(BT848_I2C); btread(BT848_I2C);
} }
void bttv_bit_setsda(void *data, int state) static void bttv_bit_setsda(void *data, int state)
{ {
struct bttv *btv = (struct bttv*)data; struct bttv *btv = (struct bttv*)data;
......
...@@ -325,8 +325,6 @@ void bttv_gpio_bits(struct bttv_core *core, u32 mask, u32 bits); ...@@ -325,8 +325,6 @@ void bttv_gpio_bits(struct bttv_core *core, u32 mask, u32 bits);
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
/* i2c */ /* i2c */
extern void bttv_bit_setscl(void *data, int state);
extern void bttv_bit_setsda(void *data, int state);
extern void bttv_call_i2c_clients(struct bttv *btv, unsigned int cmd, void *arg); extern void bttv_call_i2c_clients(struct bttv *btv, unsigned int cmd, void *arg);
extern int bttv_I2CRead(struct bttv *btv, unsigned char addr, char *probe_for); extern int bttv_I2CRead(struct bttv *btv, unsigned char addr, char *probe_for);
extern int bttv_I2CWrite(struct bttv *btv, unsigned char addr, unsigned char b1, extern int bttv_I2CWrite(struct bttv *btv, unsigned char addr, unsigned char b1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment