diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-12-01 03:51:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-01 18:48:57 -0500 |
commit | 769e24382dd47434dfda681f360868c4acd8b6e2 (patch) | |
tree | 1be728dd2f1a7f523e3de5f3f39b97a4b9905dbe /drivers/media/video/saa7127.c | |
parent | 6f502b8a7858ecfa7d2a0762f7663b8b3d0808fc (diff) |
[PATCH] V4L: Some funcions now static and I2C hw code for IR
- Some funcions are now declared as static
- Added a I2C code for InfraRed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/saa7127.c')
-rw-r--r-- | drivers/media/video/saa7127.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/saa7127.c b/drivers/media/video/saa7127.c index 843431f10e3b..3428e1ed0032 100644 --- a/drivers/media/video/saa7127.c +++ b/drivers/media/video/saa7127.c | |||
@@ -223,7 +223,7 @@ static const struct i2c_reg_value saa7127_init_config_60hz[] = { | |||
223 | }; | 223 | }; |
224 | 224 | ||
225 | #define SAA7127_50HZ_DAC_CONTROL 0x02 | 225 | #define SAA7127_50HZ_DAC_CONTROL 0x02 |
226 | struct i2c_reg_value saa7127_init_config_50hz[] = { | 226 | static struct i2c_reg_value saa7127_init_config_50hz[] = { |
227 | { SAA7127_REG_BURST_START, 0x21 }, | 227 | { SAA7127_REG_BURST_START, 0x21 }, |
228 | /* BURST_END is also used as a chip ID in saa7127_detect_client */ | 228 | /* BURST_END is also used as a chip ID in saa7127_detect_client */ |
229 | { SAA7127_REG_BURST_END, 0x1d }, | 229 | { SAA7127_REG_BURST_END, 0x1d }, |
@@ -696,7 +696,7 @@ static int saa7127_command(struct i2c_client *client, | |||
696 | 696 | ||
697 | /* ----------------------------------------------------------------------- */ | 697 | /* ----------------------------------------------------------------------- */ |
698 | 698 | ||
699 | struct i2c_driver i2c_driver_saa7127; | 699 | static struct i2c_driver i2c_driver_saa7127; |
700 | 700 | ||
701 | /* ----------------------------------------------------------------------- */ | 701 | /* ----------------------------------------------------------------------- */ |
702 | 702 | ||
@@ -818,7 +818,7 @@ static int saa7127_detach(struct i2c_client *client) | |||
818 | 818 | ||
819 | /* ----------------------------------------------------------------------- */ | 819 | /* ----------------------------------------------------------------------- */ |
820 | 820 | ||
821 | struct i2c_driver i2c_driver_saa7127 = { | 821 | static struct i2c_driver i2c_driver_saa7127 = { |
822 | .name = "saa7127", | 822 | .name = "saa7127", |
823 | .id = I2C_DRIVERID_SAA7127, | 823 | .id = I2C_DRIVERID_SAA7127, |
824 | .flags = I2C_DF_NOTIFY, | 824 | .flags = I2C_DF_NOTIFY, |