mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
fc001b36e5
Commit fcea0ccf4f
("ACPI: bus: Consolidate all arm specific
initialisation into acpi_arm_init()") moved all of the ARM-specific
initialization into acpi_arm_init(). However, acpi_amba.c being outside
of drivers/acpi/arm64 got ignored and hence acpi_amba_init() was not
moved into acpi_arm_init().
Move the AMBA platform bus support into arm64 specific folder and make
acpi_amba_init() part of acpi_arm_init().
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
16 lines
339 B
C
16 lines
339 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
#include <linux/acpi.h>
|
|
#include "init.h"
|
|
|
|
void __init acpi_arm_init(void)
|
|
{
|
|
if (IS_ENABLED(CONFIG_ACPI_AGDI))
|
|
acpi_agdi_init();
|
|
if (IS_ENABLED(CONFIG_ACPI_APMT))
|
|
acpi_apmt_init();
|
|
if (IS_ENABLED(CONFIG_ACPI_IORT))
|
|
acpi_iort_init();
|
|
if (IS_ENABLED(CONFIG_ARM_AMBA))
|
|
acpi_amba_init();
|
|
}
|