Skip to content

Commit

Permalink
ACPI: Use EXPORT_SYMBOL() for acpi_bus_get_device()
Browse files Browse the repository at this point in the history
Commit caf5c03 (ACPI: Move acpi_bus_get_device() from bus.c to
scan.c) caused acpi_bus_get_device() to be exported using
EXPORT_SYMBOL_GPL(), but that broke some binary drivers in
existence, so revert that change.

Reported-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Rafael J. Wysocki committed Oct 1, 2013
1 parent 15c03dd commit 6585925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device)
}
return 0;
}
EXPORT_SYMBOL_GPL(acpi_bus_get_device);
EXPORT_SYMBOL(acpi_bus_get_device);

int acpi_device_add(struct acpi_device *device,
void (*release)(struct device *))
Expand Down

0 comments on commit 6585925

Please sign in to comment.