From: Rafael J. Wysocki Date: Tue, 1 Oct 2013 21:02:43 +0000 (+0200) Subject: ACPI: Use EXPORT_SYMBOL() for acpi_bus_get_device() X-Git-Tag: Ubuntu-5.10.0-12.13~18207^2~1^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=6585925b62fa4dd2f4aecf634b0f8956577aa981;p=mirror_ubuntu-hirsute-kernel.git ACPI: Use EXPORT_SYMBOL() for acpi_bus_get_device() Commit caf5c03f (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 Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 611ce9061dc5..407ad13cac2f 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -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 *))