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
c8d992fb
Commit
c8d992fb
authored
Aug 09, 2004
by
Len Brown
Committed by
Len Brown
Aug 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] init wakeup devcies only if ACPI enabled (David Shaohua Li)
parent
c9b57130
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/acpi/sleep/wakeup.c
drivers/acpi/sleep/wakeup.c
+2
-0
No files found.
drivers/acpi/sleep/wakeup.c
View file @
c8d992fb
...
@@ -151,6 +151,8 @@ static int __init acpi_wakeup_device_init(void)
...
@@ -151,6 +151,8 @@ static int __init acpi_wakeup_device_init(void)
{
{
struct
list_head
*
node
,
*
next
;
struct
list_head
*
node
,
*
next
;
if
(
acpi_disabled
)
return
0
;
printk
(
"ACPI wakeup devices:
\n
"
);
printk
(
"ACPI wakeup devices:
\n
"
);
spin_lock
(
&
acpi_device_lock
);
spin_lock
(
&
acpi_device_lock
);
...
...
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