Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bb8d67e5
Commit
bb8d67e5
authored
Apr 23, 2003
by
Greg Kroah-Hartman
Committed by
Christoph Hellwig
Apr 23, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i2c: fix up the media drivers due to removing flags paramater of callback function
parent
24cd42ee
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
21 deletions
+13
-21
drivers/media/video/msp3400.c
drivers/media/video/msp3400.c
+2
-4
drivers/media/video/saa5249.c
drivers/media/video/saa5249.c
+1
-1
drivers/media/video/saa7111.c
drivers/media/video/saa7111.c
+1
-1
drivers/media/video/tda7432.c
drivers/media/video/tda7432.c
+1
-2
drivers/media/video/tda9840.c
drivers/media/video/tda9840.c
+1
-1
drivers/media/video/tda9875.c
drivers/media/video/tda9875.c
+1
-2
drivers/media/video/tda9887.c
drivers/media/video/tda9887.c
+1
-2
drivers/media/video/tea6415c.c
drivers/media/video/tea6415c.c
+1
-1
drivers/media/video/tea6420.c
drivers/media/video/tea6420.c
+1
-1
drivers/media/video/tuner-3036.c
drivers/media/video/tuner-3036.c
+1
-2
drivers/media/video/tuner.c
drivers/media/video/tuner.c
+1
-2
drivers/media/video/tvaudio.c
drivers/media/video/tvaudio.c
+1
-2
No files found.
drivers/media/video/msp3400.c
View file @
bb8d67e5
...
@@ -1208,8 +1208,7 @@ static int msp3410d_thread(void *data)
...
@@ -1208,8 +1208,7 @@ static int msp3410d_thread(void *data)
/* ----------------------------------------------------------------------- */
/* ----------------------------------------------------------------------- */
static
int
msp_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
static
int
msp_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
);
unsigned
short
flags
,
int
kind
);
static
int
msp_detach
(
struct
i2c_client
*
client
);
static
int
msp_detach
(
struct
i2c_client
*
client
);
static
int
msp_probe
(
struct
i2c_adapter
*
adap
);
static
int
msp_probe
(
struct
i2c_adapter
*
adap
);
static
int
msp_command
(
struct
i2c_client
*
client
,
unsigned
int
cmd
,
void
*
arg
);
static
int
msp_command
(
struct
i2c_client
*
client
,
unsigned
int
cmd
,
void
*
arg
);
...
@@ -1233,8 +1232,7 @@ static struct i2c_client client_template =
...
@@ -1233,8 +1232,7 @@ static struct i2c_client client_template =
},
},
};
};
static
int
msp_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
static
int
msp_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
)
unsigned
short
flags
,
int
kind
)
{
{
DECLARE_MUTEX_LOCKED
(
sem
);
DECLARE_MUTEX_LOCKED
(
sem
);
struct
msp3400c
*
msp
;
struct
msp3400c
*
msp
;
...
...
drivers/media/video/saa5249.c
View file @
bb8d67e5
...
@@ -149,7 +149,7 @@ static struct i2c_client_address_data addr_data = {
...
@@ -149,7 +149,7 @@ static struct i2c_client_address_data addr_data = {
static
struct
i2c_client
client_template
;
static
struct
i2c_client
client_template
;
static
int
saa5249_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
unsigned
short
flags
,
int
kind
)
static
int
saa5249_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
)
{
{
int
pgbuf
;
int
pgbuf
;
int
err
;
int
err
;
...
...
drivers/media/video/saa7111.c
View file @
bb8d67e5
...
@@ -66,7 +66,7 @@ static struct i2c_client client_template;
...
@@ -66,7 +66,7 @@ static struct i2c_client client_template;
/* ----------------------------------------------------------------------- */
/* ----------------------------------------------------------------------- */
static
int
saa7111_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
unsigned
short
flags
,
int
kind
)
static
int
saa7111_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
)
{
{
int
i
;
int
i
;
struct
saa7111
*
decoder
;
struct
saa7111
*
decoder
;
...
...
drivers/media/video/tda7432.c
View file @
bb8d67e5
...
@@ -312,8 +312,7 @@ static void do_tda7432_init(struct i2c_client *client)
...
@@ -312,8 +312,7 @@ static void do_tda7432_init(struct i2c_client *client)
* i2c interface functions *
* i2c interface functions *
* *********************** */
* *********************** */
static
int
tda7432_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
static
int
tda7432_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
)
unsigned
short
flags
,
int
kind
)
{
{
struct
tda7432
*
t
;
struct
tda7432
*
t
;
struct
i2c_client
*
client
;
struct
i2c_client
*
client
;
...
...
drivers/media/video/tda9840.c
View file @
bb8d67e5
...
@@ -178,7 +178,7 @@ static int tda9840_command(struct i2c_client *client, unsigned int cmd, void* ar
...
@@ -178,7 +178,7 @@ static int tda9840_command(struct i2c_client *client, unsigned int cmd, void* ar
return
0
;
return
0
;
}
}
static
int
tda9840_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
unsigned
short
flags
,
int
kind
)
static
int
tda9840_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
int
kind
)
{
{
struct
i2c_client
*
client
;
struct
i2c_client
*
client
;
int
result
=
0
;
int
result
=
0
;
...
...
drivers/media/video/tda9875.c
View file @
bb8d67e5
...
@@ -240,8 +240,7 @@ static int tda9875_checkit(struct i2c_adapter *adap, int addr)
...
@@ -240,8 +240,7 @@ static int tda9875_checkit(struct i2c_adapter *adap, int addr)
return
(
0
);
return
(
0
);
}
}
static
int
tda9875_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
static
int
tda9875_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
)
unsigned
short
flags
,
int
kind
)
{
{
struct
tda9875
*
t
;
struct
tda9875
*
t
;
struct
i2c_client
*
client
;
struct
i2c_client
*
client
;
...
...
drivers/media/video/tda9887.c
View file @
bb8d67e5
...
@@ -345,8 +345,7 @@ static int tda9887_configure(struct tda9887 *t)
...
@@ -345,8 +345,7 @@ static int tda9887_configure(struct tda9887 *t)
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
static
int
tda9887_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
static
int
tda9887_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
)
unsigned
short
flags
,
int
kind
)
{
{
struct
tda9887
*
t
;
struct
tda9887
*
t
;
...
...
drivers/media/video/tea6415c.c
View file @
bb8d67e5
...
@@ -55,7 +55,7 @@ static struct i2c_driver driver;
...
@@ -55,7 +55,7 @@ static struct i2c_driver driver;
static
int
tea6415c_id
=
0
;
static
int
tea6415c_id
=
0
;
/* this function is called by i2c_probe */
/* this function is called by i2c_probe */
static
int
tea6415c_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
unsigned
short
flags
,
int
kind
)
static
int
tea6415c_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
int
kind
)
{
{
struct
i2c_client
*
client
=
0
;
struct
i2c_client
*
client
=
0
;
int
err
=
0
;
int
err
=
0
;
...
...
drivers/media/video/tea6420.c
View file @
bb8d67e5
...
@@ -95,7 +95,7 @@ static int tea6420_switch(struct i2c_client *client, int i, int o, int g)
...
@@ -95,7 +95,7 @@ static int tea6420_switch(struct i2c_client *client, int i, int o, int g)
}
}
/* this function is called by i2c_probe */
/* this function is called by i2c_probe */
static
int
tea6420_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
unsigned
short
flags
,
int
kind
)
static
int
tea6420_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
int
kind
)
{
{
struct
i2c_client
*
client
;
struct
i2c_client
*
client
;
int
err
=
0
,
i
=
0
;
int
err
=
0
,
i
=
0
;
...
...
drivers/media/video/tuner-3036.c
View file @
bb8d67e5
...
@@ -114,8 +114,7 @@ set_tv_freq(struct i2c_client *c, int freq)
...
@@ -114,8 +114,7 @@ set_tv_freq(struct i2c_client *c, int freq)
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
static
int
static
int
tuner_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
tuner_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
)
unsigned
short
flags
,
int
kind
)
{
{
static
unsigned
char
buffer
[]
=
{
0x29
,
0x32
,
0x2a
,
0
,
0x2b
,
0
};
static
unsigned
char
buffer
[]
=
{
0x29
,
0x32
,
0x2a
,
0
,
0x2b
,
0
};
...
...
drivers/media/video/tuner.c
View file @
bb8d67e5
...
@@ -776,8 +776,7 @@ static void set_radio_freq(struct i2c_client *c, int freq)
...
@@ -776,8 +776,7 @@ static void set_radio_freq(struct i2c_client *c, int freq)
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
static
int
tuner_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
static
int
tuner_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
)
unsigned
short
flags
,
int
kind
)
{
{
struct
tuner
*
t
;
struct
tuner
*
t
;
struct
i2c_client
*
client
;
struct
i2c_client
*
client
;
...
...
drivers/media/video/tvaudio.c
View file @
bb8d67e5
...
@@ -1326,8 +1326,7 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1326,8 +1326,7 @@ static struct CHIPDESC chiplist[] = {
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
/* i2c registration */
/* i2c registration */
static
int
chip_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
static
int
chip_attach
(
struct
i2c_adapter
*
adap
,
int
addr
,
int
kind
)
unsigned
short
flags
,
int
kind
)
{
{
struct
CHIPSTATE
*
chip
;
struct
CHIPSTATE
*
chip
;
struct
CHIPDESC
*
desc
;
struct
CHIPDESC
*
desc
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment