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

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

Merge branches 'acpi-spcr', 'acpi-osi', 'acpi-bus', 'acpi-scan' and 'acpi-misc'

* acpi-spcr:
  ACPI: SPCR: Workaround for APM X-Gene 8250 UART 32-alignment errata
  ACPI: SPCR: Use access width to determine mmio usage

* acpi-osi:
  ACPI / osi: Make local function acpi_osi_dmi_linux() static

* acpi-bus:
  ACPI / bus: handle ACPI hotplug schedule errors completely

* acpi-scan:
  ACPI / scan: Indicate to platform when hot remove returns busy

* acpi-misc:
  ACPI / DPTF: constify attribute_group structures
  ACPI / LPSS: constify attribute_group structures
  ACPI: BGRT: constify attribute_group structures
  ACPI / power: constify attribute_group structures
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -576,7 +576,7 @@ static struct attribute *lpss_attrs[] = {
	NULL,
};

static struct attribute_group lpss_attr_group = {
static const struct attribute_group lpss_attr_group = {
	.attrs = lpss_attrs,
	.name = "lpss_ltr",
};
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ static struct bin_attribute *bgrt_bin_attributes[] = {
	NULL,
};

static struct attribute_group bgrt_attribute_group = {
static const struct attribute_group bgrt_attribute_group = {
	.attrs = bgrt_attributes,
	.bin_attrs = bgrt_bin_attributes,
};
+6 −2
Original line number Diff line number Diff line
@@ -409,12 +409,16 @@ static void acpi_bus_notify(acpi_handle handle, u32 type, void *data)
	    (driver->flags & ACPI_DRIVER_ALL_NOTIFY_EVENTS))
		driver->ops.notify(adev, type);

	if (hotplug_event && ACPI_SUCCESS(acpi_hotplug_schedule(adev, type)))
	if (!hotplug_event) {
		acpi_bus_put_acpi_device(adev);
		return;
	}

	acpi_bus_put_acpi_device(adev);
	if (ACPI_SUCCESS(acpi_hotplug_schedule(adev, type)))
		return;

	acpi_bus_put_acpi_device(adev);

 err:
	acpi_evaluate_ost(handle, type, ost_code, NULL);
}
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ static struct attribute *dptf_power_attrs[] = {
	NULL
};

static struct attribute_group dptf_power_attribute_group = {
static const struct attribute_group dptf_power_attribute_group = {
	.attrs = dptf_power_attrs,
	.name = "dptf_power"
};
+2 −1
Original line number Diff line number Diff line
@@ -265,7 +265,8 @@ static void __init acpi_osi_dmi_darwin(bool enable,
	__acpi_osi_setup_darwin(enable);
}

void __init acpi_osi_dmi_linux(bool enable, const struct dmi_system_id *d)
static void __init acpi_osi_dmi_linux(bool enable,
				      const struct dmi_system_id *d)
{
	pr_notice("DMI detected to setup _OSI(\"Linux\"): %s\n", d->ident);
	osi_config.linux_dmi = 1;
Loading