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
eb2dca9d
Commit
eb2dca9d
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/char/hw_random.c
parent
ea3ce0bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/char/hw_random.c
drivers/char/hw_random.c
+2
-2
No files found.
drivers/char/hw_random.c
View file @
eb2dca9d
...
@@ -573,13 +573,13 @@ MODULE_LICENSE("GPL");
...
@@ -573,13 +573,13 @@ MODULE_LICENSE("GPL");
static
int
__init
rng_init
(
void
)
static
int
__init
rng_init
(
void
)
{
{
int
rc
;
int
rc
;
struct
pci_dev
*
pdev
;
struct
pci_dev
*
pdev
=
NULL
;
const
struct
pci_device_id
*
ent
;
const
struct
pci_device_id
*
ent
;
DPRINTK
(
"ENTER
\n
"
);
DPRINTK
(
"ENTER
\n
"
);
/* Probe for Intel, AMD RNGs */
/* Probe for Intel, AMD RNGs */
pci_for_each_dev
(
pdev
)
{
while
((
pdev
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
pdev
))
!=
NULL
)
{
ent
=
pci_match_device
(
rng_pci_tbl
,
pdev
);
ent
=
pci_match_device
(
rng_pci_tbl
,
pdev
);
if
(
ent
)
{
if
(
ent
)
{
rng_ops
=
&
rng_vendor_ops
[
ent
->
driver_data
];
rng_ops
=
&
rng_vendor_ops
[
ent
->
driver_data
];
...
...
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