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
4263d9a3
Commit
4263d9a3
authored
Jan 12, 2011
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'suspend-ioremap-cache' into release
parents
eab001bf
6fed05c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
drivers/acpi/internal.h
drivers/acpi/internal.h
+1
-1
include/linux/acpi.h
include/linux/acpi.h
+10
-9
No files found.
drivers/acpi/internal.h
View file @
4263d9a3
...
@@ -91,7 +91,7 @@ void suspend_nvs_restore(void);
...
@@ -91,7 +91,7 @@ void suspend_nvs_restore(void);
static
inline
int
acpi_sleep_proc_init
(
void
)
{
return
0
;
}
static
inline
int
acpi_sleep_proc_init
(
void
)
{
return
0
;
}
static
inline
int
suspend_nvs_alloc
(
void
)
{
return
0
;
}
static
inline
int
suspend_nvs_alloc
(
void
)
{
return
0
;
}
static
inline
void
suspend_nvs_free
(
void
)
{}
static
inline
void
suspend_nvs_free
(
void
)
{}
static
inline
int
suspend_nvs_save
(
void
)
{}
static
inline
int
suspend_nvs_save
(
void
)
{
return
0
;
}
static
inline
void
suspend_nvs_restore
(
void
)
{}
static
inline
void
suspend_nvs_restore
(
void
)
{}
#endif
#endif
...
...
include/linux/acpi.h
View file @
4263d9a3
...
@@ -254,15 +254,6 @@ void __init acpi_old_suspend_ordering(void);
...
@@ -254,15 +254,6 @@ void __init acpi_old_suspend_ordering(void);
void
__init
acpi_nvs_nosave
(
void
);
void
__init
acpi_nvs_nosave
(
void
);
#endif
/* CONFIG_PM_SLEEP */
#endif
/* CONFIG_PM_SLEEP */
#ifdef CONFIG_ACPI_SLEEP
int
suspend_nvs_register
(
unsigned
long
start
,
unsigned
long
size
);
#else
static
inline
int
suspend_nvs_register
(
unsigned
long
a
,
unsigned
long
b
)
{
return
0
;
}
#endif
struct
acpi_osc_context
{
struct
acpi_osc_context
{
char
*
uuid_str
;
/* uuid string */
char
*
uuid_str
;
/* uuid string */
int
rev
;
int
rev
;
...
@@ -361,4 +352,14 @@ static inline int acpi_table_parse(char *id,
...
@@ -361,4 +352,14 @@ static inline int acpi_table_parse(char *id,
return
-
1
;
return
-
1
;
}
}
#endif
/* !CONFIG_ACPI */
#endif
/* !CONFIG_ACPI */
#ifdef CONFIG_ACPI_SLEEP
int
suspend_nvs_register
(
unsigned
long
start
,
unsigned
long
size
);
#else
static
inline
int
suspend_nvs_register
(
unsigned
long
a
,
unsigned
long
b
)
{
return
0
;
}
#endif
#endif
/*_LINUX_ACPI_H*/
#endif
/*_LINUX_ACPI_H*/
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