diff options
author | Len Brown <len.brown@intel.com> | 2008-02-07 03:31:17 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-07 03:31:17 -0500 |
commit | 299cfe38081bea6dcd8b882375f6f65a980bccf9 (patch) | |
tree | e567c1e908d158d6dce155cc5cf1b4eb8c78c514 /include/linux/acpi.h | |
parent | 8976b6fd7a0060f72e20d5cec833c03d50874cd1 (diff) | |
parent | 443dea72d5f428170de6d6e3c4c1a1e2b7632b65 (diff) |
Merge branches 'release' and 'hwmon-conflicts' into release
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 5a5a13b64d09..25fb4dcc0e6b 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #ifndef _LINUX_ACPI_H | 25 | #ifndef _LINUX_ACPI_H |
26 | #define _LINUX_ACPI_H | 26 | #define _LINUX_ACPI_H |
27 | 27 | ||
28 | #include <linux/ioport.h> /* for struct resource */ | ||
28 | 29 | ||
29 | #ifdef CONFIG_ACPI | 30 | #ifdef CONFIG_ACPI |
30 | 31 | ||
@@ -238,6 +239,13 @@ extern int pnpacpi_disabled; | |||
238 | #define PXM_INVAL (-1) | 239 | #define PXM_INVAL (-1) |
239 | #define NID_INVAL (-1) | 240 | #define NID_INVAL (-1) |
240 | 241 | ||
242 | int acpi_check_resource_conflict(struct resource *res); | ||
243 | |||
244 | int acpi_check_region(resource_size_t start, resource_size_t n, | ||
245 | const char *name); | ||
246 | int acpi_check_mem_region(resource_size_t start, resource_size_t n, | ||
247 | const char *name); | ||
248 | |||
241 | #else /* CONFIG_ACPI */ | 249 | #else /* CONFIG_ACPI */ |
242 | 250 | ||
243 | static inline int acpi_boot_init(void) | 251 | static inline int acpi_boot_init(void) |
@@ -250,5 +258,22 @@ static inline int acpi_boot_table_init(void) | |||
250 | return 0; | 258 | return 0; |
251 | } | 259 | } |
252 | 260 | ||
261 | static inline int acpi_check_resource_conflict(struct resource *res) | ||
262 | { | ||
263 | return 0; | ||
264 | } | ||
265 | |||
266 | static inline int acpi_check_region(resource_size_t start, resource_size_t n, | ||
267 | const char *name) | ||
268 | { | ||
269 | return 0; | ||
270 | } | ||
271 | |||
272 | static inline int acpi_check_mem_region(resource_size_t start, | ||
273 | resource_size_t n, const char *name) | ||
274 | { | ||
275 | return 0; | ||
276 | } | ||
277 | |||
253 | #endif /* !CONFIG_ACPI */ | 278 | #endif /* !CONFIG_ACPI */ |
254 | #endif /*_LINUX_ACPI_H*/ | 279 | #endif /*_LINUX_ACPI_H*/ |