Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
f63a9048
Commit
f63a9048
authored
Oct 15, 2009
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugzilla-14129' into release
parents
a3ccf63e
497fb54f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
drivers/acpi/pci_root.c
drivers/acpi/pci_root.c
+11
-0
No files found.
drivers/acpi/pci_root.c
View file @
f63a9048
...
@@ -389,6 +389,17 @@ struct pci_dev *acpi_get_pci_dev(acpi_handle handle)
...
@@ -389,6 +389,17 @@ struct pci_dev *acpi_get_pci_dev(acpi_handle handle)
pbus
=
pdev
->
subordinate
;
pbus
=
pdev
->
subordinate
;
pci_dev_put
(
pdev
);
pci_dev_put
(
pdev
);
/*
* This function may be called for a non-PCI device that has a
* PCI parent (eg. a disk under a PCI SATA controller). In that
* case pdev->subordinate will be NULL for the parent.
*/
if
(
!
pbus
)
{
dev_dbg
(
&
pdev
->
dev
,
"Not a PCI-to-PCI bridge
\n
"
);
pdev
=
NULL
;
break
;
}
}
}
out:
out:
list_for_each_entry_safe
(
node
,
tmp
,
&
device_list
,
node
)
list_for_each_entry_safe
(
node
,
tmp
,
&
device_list
,
node
)
...
...
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