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
816c2eda
Commit
816c2eda
authored
Jun 24, 2008
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled.
Signed-off-by:
Len Brown
<
len.brown@intel.com
>
parent
4389ed2f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
drivers/acpi/bay.c
drivers/acpi/bay.c
+3
-0
drivers/acpi/dock.c
drivers/acpi/dock.c
+3
-0
No files found.
drivers/acpi/bay.c
View file @
816c2eda
...
...
@@ -377,6 +377,9 @@ static int __init bay_init(void)
INIT_LIST_HEAD
(
&
drive_bays
);
if
(
acpi_disabled
)
return
-
ENODEV
;
/* look for dockable drive bays */
acpi_walk_namespace
(
ACPI_TYPE_DEVICE
,
ACPI_ROOT_OBJECT
,
ACPI_UINT32_MAX
,
find_bay
,
&
bays
,
NULL
);
...
...
drivers/acpi/dock.c
View file @
816c2eda
...
...
@@ -917,6 +917,9 @@ static int __init dock_init(void)
dock_station
=
NULL
;
if
(
acpi_disabled
)
return
0
;
/* look for a dock station */
acpi_walk_namespace
(
ACPI_TYPE_DEVICE
,
ACPI_ROOT_OBJECT
,
ACPI_UINT32_MAX
,
find_dock
,
&
num
,
NULL
);
...
...
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