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
301b22c5
Commit
301b22c5
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 sound/oss/esssolo1.c
parent
7b3e03d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
sound/oss/esssolo1.c
sound/oss/esssolo1.c
+8
-8
No files found.
sound/oss/esssolo1.c
View file @
301b22c5
...
@@ -915,9 +915,9 @@ static int solo1_open_mixdev(struct inode *inode, struct file *file)
...
@@ -915,9 +915,9 @@ static int solo1_open_mixdev(struct inode *inode, struct file *file)
{
{
unsigned
int
minor
=
minor
(
inode
->
i_rdev
);
unsigned
int
minor
=
minor
(
inode
->
i_rdev
);
struct
solo1_state
*
s
=
NULL
;
struct
solo1_state
*
s
=
NULL
;
struct
pci_dev
*
pci_dev
;
struct
pci_dev
*
pci_dev
=
NULL
;
pci_for_each_dev
(
pci_dev
)
{
while
((
pci_dev
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
pci_dev
))
!=
NULL
)
{
struct
pci_driver
*
drvr
;
struct
pci_driver
*
drvr
;
drvr
=
pci_dev_driver
(
pci_dev
);
drvr
=
pci_dev_driver
(
pci_dev
);
if
(
drvr
!=
&
solo1_driver
)
if
(
drvr
!=
&
solo1_driver
)
...
@@ -1597,9 +1597,9 @@ static int solo1_open(struct inode *inode, struct file *file)
...
@@ -1597,9 +1597,9 @@ static int solo1_open(struct inode *inode, struct file *file)
unsigned
int
minor
=
minor
(
inode
->
i_rdev
);
unsigned
int
minor
=
minor
(
inode
->
i_rdev
);
DECLARE_WAITQUEUE
(
wait
,
current
);
DECLARE_WAITQUEUE
(
wait
,
current
);
struct
solo1_state
*
s
=
NULL
;
struct
solo1_state
*
s
=
NULL
;
struct
pci_dev
*
pci_dev
;
struct
pci_dev
*
pci_dev
=
NULL
;
pci_for_each_dev
(
pci_dev
)
{
while
((
pci_dev
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
pci_dev
))
!=
NULL
)
{
struct
pci_driver
*
drvr
;
struct
pci_driver
*
drvr
;
drvr
=
pci_dev_driver
(
pci_dev
);
drvr
=
pci_dev_driver
(
pci_dev
);
...
@@ -1888,9 +1888,9 @@ static int solo1_midi_open(struct inode *inode, struct file *file)
...
@@ -1888,9 +1888,9 @@ static int solo1_midi_open(struct inode *inode, struct file *file)
DECLARE_WAITQUEUE
(
wait
,
current
);
DECLARE_WAITQUEUE
(
wait
,
current
);
unsigned
long
flags
;
unsigned
long
flags
;
struct
solo1_state
*
s
=
NULL
;
struct
solo1_state
*
s
=
NULL
;
struct
pci_dev
*
pci_dev
;
struct
pci_dev
*
pci_dev
=
NULL
;
pci_for_each_dev
(
pci_dev
)
{
while
((
pci_dev
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
pci_dev
))
!=
NULL
)
{
struct
pci_driver
*
drvr
;
struct
pci_driver
*
drvr
;
drvr
=
pci_dev_driver
(
pci_dev
);
drvr
=
pci_dev_driver
(
pci_dev
);
...
@@ -2113,9 +2113,9 @@ static int solo1_dmfm_open(struct inode *inode, struct file *file)
...
@@ -2113,9 +2113,9 @@ static int solo1_dmfm_open(struct inode *inode, struct file *file)
unsigned
int
minor
=
minor
(
inode
->
i_rdev
);
unsigned
int
minor
=
minor
(
inode
->
i_rdev
);
DECLARE_WAITQUEUE
(
wait
,
current
);
DECLARE_WAITQUEUE
(
wait
,
current
);
struct
solo1_state
*
s
=
NULL
;
struct
solo1_state
*
s
=
NULL
;
struct
pci_dev
*
pci_dev
;
struct
pci_dev
*
pci_dev
=
NULL
;
pci_for_each_dev
(
pci_dev
)
{
while
((
pci_dev
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
pci_dev
))
!=
NULL
)
{
struct
pci_driver
*
drvr
;
struct
pci_driver
*
drvr
;
drvr
=
pci_dev_driver
(
pci_dev
);
drvr
=
pci_dev_driver
(
pci_dev
);
...
...
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