Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84170
b: refs/heads/master
c: 443dea7
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Renninger authored and Len Brown committed Feb 7, 2008
1 parent c3224f3 commit f65443f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df92e695998e1bc6e426a840eb86d6d1ee87e2a5
refs/heads/master: 443dea72d5f428170de6d6e3c4c1a1e2b7632b65
3 changes: 2 additions & 1 deletion trunk/drivers/acpi/osl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ __setup("acpi_enforce_resources=", acpi_enforce_resources_setup);

/* Check for resource conflicts between ACPI OperationRegions and native
* drivers */
static int acpi_check_resource_conflict(struct resource *res)
int acpi_check_resource_conflict(struct resource *res)
{
struct acpi_res_list *res_list_elem;
int ioport;
Expand Down Expand Up @@ -1207,6 +1207,7 @@ static int acpi_check_resource_conflict(struct resource *res)
}
return 0;
}
EXPORT_SYMBOL(acpi_check_resource_conflict);

int acpi_check_region(resource_size_t start, resource_size_t n,
const char *name)
Expand Down
8 changes: 8 additions & 0 deletions trunk/include/linux/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#ifndef _LINUX_ACPI_H
#define _LINUX_ACPI_H

#include <linux/ioport.h> /* for struct resource */

#ifdef CONFIG_ACPI

Expand Down Expand Up @@ -217,6 +218,8 @@ extern int pnpacpi_disabled;
#define PXM_INVAL (-1)
#define NID_INVAL (-1)

int acpi_check_resource_conflict(struct resource *res);

int acpi_check_region(resource_size_t start, resource_size_t n,
const char *name);
int acpi_check_mem_region(resource_size_t start, resource_size_t n,
Expand All @@ -234,6 +237,11 @@ static inline int acpi_boot_table_init(void)
return 0;
}

static inline int acpi_check_resource_conflict(struct resource *res)
{
return 0;
}

static inline int acpi_check_region(resource_size_t start, resource_size_t n,
const char *name)
{
Expand Down

0 comments on commit f65443f

Please sign in to comment.