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
3ec3634e
Commit
3ec3634e
authored
Aug 17, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update scx200 i2c driver for 'name' move.
parent
b8a6c393
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/i2c/scx200_i2c.c
drivers/i2c/scx200_i2c.c
+2
-4
No files found.
drivers/i2c/scx200_i2c.c
View file @
3ec3634e
...
@@ -84,9 +84,7 @@ static struct i2c_adapter scx200_i2c_ops = {
...
@@ -84,9 +84,7 @@ static struct i2c_adapter scx200_i2c_ops = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
.
id
=
I2C_HW_B_VELLE
,
.
id
=
I2C_HW_B_VELLE
,
.
algo_data
=
&
scx200_i2c_data
,
.
algo_data
=
&
scx200_i2c_data
,
.
dev
=
{
.
name
=
"NatSemi SCx200 I2C"
,
.
name
=
"NatSemi SCx200 I2C"
,
},
};
};
int
scx200_i2c_init
(
void
)
int
scx200_i2c_init
(
void
)
...
@@ -112,7 +110,7 @@ int scx200_i2c_init(void)
...
@@ -112,7 +110,7 @@ int scx200_i2c_init(void)
if
(
i2c_bit_add_bus
(
&
scx200_i2c_ops
)
<
0
)
{
if
(
i2c_bit_add_bus
(
&
scx200_i2c_ops
)
<
0
)
{
printk
(
KERN_ERR
NAME
": adapter %s registration failed
\n
"
,
printk
(
KERN_ERR
NAME
": adapter %s registration failed
\n
"
,
scx200_i2c_ops
.
dev
.
name
);
scx200_i2c_ops
.
name
);
return
-
ENODEV
;
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