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
daf99207
Commit
daf99207
authored
Apr 06, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i2c: fix up via686a.c driver based on previous i2c api changes.
parent
c138ea3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/i2c/chips/via686a.c
drivers/i2c/chips/via686a.c
+2
-4
No files found.
drivers/i2c/chips/via686a.c
View file @
daf99207
...
...
@@ -390,8 +390,7 @@ struct via686a_data {
static
struct
pci_dev
*
s_bridge
;
/* pointer to the (only) via686a */
static
int
via686a_attach_adapter
(
struct
i2c_adapter
*
adapter
);
static
int
via686a_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
unsigned
short
flags
,
int
kind
);
static
int
via686a_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
int
kind
);
static
int
via686a_detach_client
(
struct
i2c_client
*
client
);
static
inline
int
via686a_read_value
(
struct
i2c_client
*
client
,
u8
reg
)
...
...
@@ -665,8 +664,7 @@ static int via686a_attach_adapter(struct i2c_adapter *adapter)
return
i2c_detect
(
adapter
,
&
addr_data
,
via686a_detect
);
}
static
int
via686a_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
unsigned
short
flags
,
int
kind
)
static
int
via686a_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
int
kind
)
{
struct
i2c_client
*
new_client
;
struct
via686a_data
*
data
;
...
...
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