aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2008-02-05 02:31:23 -0500
committerLen Brown <len.brown@intel.com>2008-02-07 01:00:23 -0500
commit443dea72d5f428170de6d6e3c4c1a1e2b7632b65 (patch)
treea93ee8027d58c17dfa47fd7b8750b7cf67219e8c /drivers/acpi
parentdf92e695998e1bc6e426a840eb86d6d1ee87e2a5 (diff)
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 <jdelvare@suse.de> Cc: "Mark M. Hoffman" <mhoffman@lightlink.com> Cc: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/osl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 222f7b1b66f7..bc1604bfa4db 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1157,7 +1157,7 @@ __setup("acpi_enforce_resources=", acpi_enforce_resources_setup);
1157 1157
1158/* Check for resource conflicts between ACPI OperationRegions and native 1158/* Check for resource conflicts between ACPI OperationRegions and native
1159 * drivers */ 1159 * drivers */
1160static int acpi_check_resource_conflict(struct resource *res) 1160int acpi_check_resource_conflict(struct resource *res)
1161{ 1161{
1162 struct acpi_res_list *res_list_elem; 1162 struct acpi_res_list *res_list_elem;
1163 int ioport; 1163 int ioport;
@@ -1207,6 +1207,7 @@ static int acpi_check_resource_conflict(struct resource *res)
1207 } 1207 }
1208 return 0; 1208 return 0;
1209} 1209}
1210EXPORT_SYMBOL(acpi_check_resource_conflict);
1210 1211
1211int acpi_check_region(resource_size_t start, resource_size_t n, 1212int acpi_check_region(resource_size_t start, resource_size_t n,
1212 const char *name) 1213 const char *name)