summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7127.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-11-20 02:13:48 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-11-20 02:13:48 +0000
commit6be6cf626692423f838ec37dd3e29de60e0b3032 (patch)
treee15b6538f6cc45bdd024f9037353b4082a9bae96 /linux/drivers/media/video/saa7127.c
parentafd0d0eecb3280f467122c2f4592be0e9bd366a2 (diff)
downloadmediapointer-dvb-s2-6be6cf626692423f838ec37dd3e29de60e0b3032.tar.gz
mediapointer-dvb-s2-6be6cf626692423f838ec37dd3e29de60e0b3032.tar.bz2
some funcions now static and I2C hw code for IR
CC: Jean Delvare <khali@linux-fr.org> CC: LM Sensors <lm-sensors@lm-sensors.org> CC: Greg KH <gregkh@suse.de> - Some funcions are now declared as static - Added a I2C code for InfraRed. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/saa7127.c')
-rw-r--r--linux/drivers/media/video/saa7127.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7127.c b/linux/drivers/media/video/saa7127.c
index 7987d6030..8f2192ae2 100644
--- a/linux/drivers/media/video/saa7127.c
+++ b/linux/drivers/media/video/saa7127.c
@@ -233,7 +233,7 @@ static const struct i2c_reg_value saa7127_init_config_60hz[] = {
};
#define SAA7127_50HZ_DAC_CONTROL 0x02
-struct i2c_reg_value saa7127_init_config_50hz[] = {
+static struct i2c_reg_value saa7127_init_config_50hz[] = {
{ SAA7127_REG_BURST_START, 0x21 },
/* BURST_END is also used as a chip ID in saa7127_detect_client */
{ SAA7127_REG_BURST_END, 0x1d },
@@ -706,7 +706,7 @@ static int saa7127_command(struct i2c_client *client,
/* ----------------------------------------------------------------------- */
-struct i2c_driver i2c_driver_saa7127;
+static struct i2c_driver i2c_driver_saa7127;
/* ----------------------------------------------------------------------- */
@@ -839,7 +839,7 @@ static int saa7127_detach(struct i2c_client *client)
/* ----------------------------------------------------------------------- */
-struct i2c_driver i2c_driver_saa7127 = {
+static struct i2c_driver i2c_driver_saa7127 = {
.name = "saa7127",
.id = I2C_DRIVERID_SAA7127,
.flags = I2C_DF_NOTIFY,