mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
ACPI: Export acpi_check_resource_conflict
Export acpi_check_resource_conflict(), sometimes drivers already have a struct resource at hand so no need to use the wrappers to build a new one. Signed-off-by: Jean Delvare <[email protected]> Cc: "Mark M. Hoffman" <[email protected]> Cc: Bjorn Helgaas <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
df92e69599
commit
443dea72d5
2 changed files with 10 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue