Fix section conflict of acpi_rs_match_vendor_resource
Building with GCC 4.2, I get the following error:
CC drivers/acpi/resources/rsxface.odrivers/acpi/resources/rsxface.c:479: error: __ksymtab_acpi_rs_match_vendor_resource causes a section type conflict
This is because acpi_rs_match_vendor_resource is both declared static and exported.
Signed-off-by Martin Michlmayr <[email protected]>
drivers/acpi/resources/rsxface.c +2 -2
@@ -64,7 +64,7 @@ ACPI_MODULE_NAME("rsxface")ACPI_COPY_FIELD (out, in, address_length); \ACPI_COPY_FIELD (out, in, resource_source);/* Local prototypes */ -static acpi_status +acpi_status acpi_rs_match_vendor_resource (struct acpi_resource *resource,void *context); static acpi_status
@@ -428,7 +428,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_vendor_resource)* DESCRIPTION: Match a vendor resource via the ACPI 3.0 UUID * ******************************************************************************/ -static acpi_status +acpi_status acpi_rs_match_vendor_resource (struct acpi_resource *resource,void *context) {struct acpi_vendor_walk_info *info = context;
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/