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
42823f62
Commit
42823f62
authored
Sep 28, 2004
by
Greg Kroah-Hartman
Committed by
Greg Kroah-Hartman
Sep 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I2C: change i2c-elektor.c driver from using pci_find_device()
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
048c3bac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/i2c/busses/i2c-elektor.c
drivers/i2c/busses/i2c-elektor.c
+4
-4
No files found.
drivers/i2c/busses/i2c-elektor.c
View file @
42823f62
...
@@ -180,11 +180,10 @@ static int __init i2c_pcfisa_init(void)
...
@@ -180,11 +180,10 @@ static int __init i2c_pcfisa_init(void)
/* check to see we have memory mapped PCF8584 connected to the
/* check to see we have memory mapped PCF8584 connected to the
Cypress cy82c693 PCI-ISA bridge as on UP2000 board */
Cypress cy82c693 PCI-ISA bridge as on UP2000 board */
if
(
base
==
0
)
{
if
(
base
==
0
)
{
struct
pci_dev
*
cy693_dev
;
struct
pci_dev
*
cy693_dev
=
cy693_dev
=
pci_get_device
(
PCI_VENDOR_ID_CONTAQ
,
pci_find_device
(
PCI_VENDOR_ID_CONTAQ
,
PCI_DEVICE_ID_CONTAQ_82C693
,
NULL
);
PCI_DEVICE_ID_CONTAQ_82C693
,
NULL
);
if
(
cy693_dev
)
{
if
(
cy693_dev
)
{
char
config
;
char
config
;
/* yeap, we've found cypress, let's check config */
/* yeap, we've found cypress, let's check config */
...
@@ -215,6 +214,7 @@ static int __init i2c_pcfisa_init(void)
...
@@ -215,6 +214,7 @@ static int __init i2c_pcfisa_init(void)
printk
(
KERN_INFO
"i2c-elektor: found API UP2000 like board, will probe PCF8584 later.
\n
"
);
printk
(
KERN_INFO
"i2c-elektor: found API UP2000 like board, will probe PCF8584 later.
\n
"
);
}
}
}
}
pci_dev_put
(
cy693_dev
);
}
}
}
}
#endif
#endif
...
...
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