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
7d0d5418
Commit
7d0d5418
authored
Jun 03, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: remove usage of pci_for_each_dev() in drivers/video/pm2fb.c
parent
b73faa91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/video/pm2fb.c
drivers/video/pm2fb.c
+2
-2
No files found.
drivers/video/pm2fb.c
View file @
7d0d5418
...
@@ -1178,7 +1178,7 @@ struct {
...
@@ -1178,7 +1178,7 @@ struct {
static
int
__init
pm2pci_detect
(
struct
pm2fb_info
*
p
)
{
static
int
__init
pm2pci_detect
(
struct
pm2fb_info
*
p
)
{
struct
pm2pci_par
*
pci
=&
p
->
board_par
.
pci
;
struct
pm2pci_par
*
pci
=&
p
->
board_par
.
pci
;
struct
pci_dev
*
dev
;
struct
pci_dev
*
dev
=
NULL
;
int
i
;
int
i
;
unsigned
char
*
m
;
unsigned
char
*
m
;
#ifdef __sparc__
#ifdef __sparc__
...
@@ -1192,7 +1192,7 @@ static int __init pm2pci_detect(struct pm2fb_info* p) {
...
@@ -1192,7 +1192,7 @@ static int __init pm2pci_detect(struct pm2fb_info* p) {
}
}
DPRINTK
(
"scanning PCI bus for known chipsets...
\n
"
);
DPRINTK
(
"scanning PCI bus for known chipsets...
\n
"
);
pci_for_each_dev
(
dev
)
{
while
((
dev
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
dev
))
!=
NULL
)
{
for
(
i
=
0
;
pm2pci_cards
[
i
].
vendor
;
i
++
)
for
(
i
=
0
;
pm2pci_cards
[
i
].
vendor
;
i
++
)
if
(
pm2pci_cards
[
i
].
vendor
==
dev
->
vendor
&&
if
(
pm2pci_cards
[
i
].
vendor
==
dev
->
vendor
&&
pm2pci_cards
[
i
].
device
==
dev
->
device
)
{
pm2pci_cards
[
i
].
device
==
dev
->
device
)
{
...
...
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