aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 893f90a5dea9..a031df8c83ae 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
@@ -217,6 +218,8 @@ extern int pnpacpi_disabled;
217#define PXM_INVAL (-1) 218#define PXM_INVAL (-1)
218#define NID_INVAL (-1) 219#define NID_INVAL (-1)
219 220
221int acpi_check_resource_conflict(struct resource *res);
222
220int acpi_check_region(resource_size_t start, resource_size_t n, 223int acpi_check_region(resource_size_t start, resource_size_t n,
221 const char *name); 224 const char *name);
222int acpi_check_mem_region(resource_size_t start, resource_size_t n, 225int acpi_check_mem_region(resource_size_t start, resource_size_t n,
@@ -234,6 +237,11 @@ static inline int acpi_boot_table_init(void)
234 return 0; 237 return 0;
235} 238}
236 239
240static inline int acpi_check_resource_conflict(struct resource *res)
241{
242 return 0;
243}
244
237static inline int acpi_check_region(resource_size_t start, resource_size_t n, 245static inline int acpi_check_region(resource_size_t start, resource_size_t n,
238 const char *name) 246 const char *name)
239{ 247{