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
nexedi
linux
Commits
29ab73f0
Commit
29ab73f0
authored
Apr 07, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i2c: fix up compile error in scx200_i2c driver.
parent
96a57f05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/i2c/scx200_i2c.c
drivers/i2c/scx200_i2c.c
+4
-2
No files found.
drivers/i2c/scx200_i2c.c
View file @
29ab73f0
...
...
@@ -82,9 +82,11 @@ static struct i2c_algo_bit_data scx200_i2c_data = {
static
struct
i2c_adapter
scx200_i2c_ops
=
{
.
owner
=
THIS_MODULE
,
.
name
=
"NatSemi SCx200 I2C"
,
.
id
=
I2C_HW_B_VELLE
,
.
algo_data
=
&
scx200_i2c_data
,
.
dev
=
{
.
name
=
"NatSemi SCx200 I2C"
,
},
};
int
scx200_i2c_init
(
void
)
...
...
@@ -110,7 +112,7 @@ int scx200_i2c_init(void)
if
(
i2c_bit_add_bus
(
&
scx200_i2c_ops
)
<
0
)
{
printk
(
KERN_ERR
NAME
": adapter %s registration failed
\n
"
,
scx200_i2c_ops
.
name
);
scx200_i2c_ops
.
dev
.
name
);
return
-
ENODEV
;
}
...
...
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