diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-02-15 16:24:37 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-15 16:24:37 -0500 |
commit | ca994a36f585432458ead9133fcfe05440edbb7b (patch) | |
tree | be05512153a9cd5cbe1f1234bc09fd9cd388ec58 /include/linux/acpi.h | |
parent | 12325280dfeba18164f9c47e226a40ab34e23ee7 (diff) | |
parent | 2504a6423b9ab4c36df78227055995644de19edb (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Conflicts:
net/mac80211/debugfs_sta.c
net/mac80211/sta_info.h
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 627a3a42e4d8..3f968665899b 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -310,6 +310,11 @@ extern acpi_status acpi_pci_osc_control_set(acpi_handle handle, | |||
310 | u32 *mask, u32 req); | 310 | u32 *mask, u32 req); |
311 | extern void acpi_early_init(void); | 311 | extern void acpi_early_init(void); |
312 | 312 | ||
313 | extern int acpi_nvs_register(__u64 start, __u64 size); | ||
314 | |||
315 | extern int acpi_nvs_for_each_region(int (*func)(__u64, __u64, void *), | ||
316 | void *data); | ||
317 | |||
313 | #else /* !CONFIG_ACPI */ | 318 | #else /* !CONFIG_ACPI */ |
314 | 319 | ||
315 | #define acpi_disabled 1 | 320 | #define acpi_disabled 1 |
@@ -352,15 +357,18 @@ static inline int acpi_table_parse(char *id, | |||
352 | { | 357 | { |
353 | return -1; | 358 | return -1; |
354 | } | 359 | } |
355 | #endif /* !CONFIG_ACPI */ | ||
356 | 360 | ||
357 | #ifdef CONFIG_ACPI_SLEEP | 361 | static inline int acpi_nvs_register(__u64 start, __u64 size) |
358 | int suspend_nvs_register(unsigned long start, unsigned long size); | ||
359 | #else | ||
360 | static inline int suspend_nvs_register(unsigned long a, unsigned long b) | ||
361 | { | 362 | { |
362 | return 0; | 363 | return 0; |
363 | } | 364 | } |
364 | #endif | 365 | |
366 | static inline int acpi_nvs_for_each_region(int (*func)(__u64, __u64, void *), | ||
367 | void *data) | ||
368 | { | ||
369 | return 0; | ||
370 | } | ||
371 | |||
372 | #endif /* !CONFIG_ACPI */ | ||
365 | 373 | ||
366 | #endif /*_LINUX_ACPI_H*/ | 374 | #endif /*_LINUX_ACPI_H*/ |