Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6585925b authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

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: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 15c03dd4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 *))