mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-08 13:44:01 +08:00
ACPI: Move AMBA bus scan handling into arm64 specific directory
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>
This commit is contained in:
parent
5d0c230f1d
commit
fc001b36e5
@ -50,7 +50,6 @@ acpi-$(CONFIG_PCI) += acpi_lpss.o
|
||||
acpi-y += acpi_apd.o
|
||||
acpi-y += acpi_platform.o
|
||||
acpi-y += acpi_pnp.o
|
||||
acpi-$(CONFIG_ARM_AMBA) += acpi_amba.o
|
||||
acpi-y += power.o
|
||||
acpi-y += event.o
|
||||
acpi-y += evged.o
|
||||
|
@ -3,4 +3,5 @@ obj-$(CONFIG_ACPI_AGDI) += agdi.o
|
||||
obj-$(CONFIG_ACPI_IORT) += iort.o
|
||||
obj-$(CONFIG_ACPI_GTDT) += gtdt.o
|
||||
obj-$(CONFIG_ACPI_APMT) += apmt.o
|
||||
obj-$(CONFIG_ARM_AMBA) += amba.o
|
||||
obj-y += dma.o init.o
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "init.h"
|
||||
|
||||
static const struct acpi_device_id amba_id_list[] = {
|
||||
{"ARMH0061", 0}, /* PL061 GPIO Device */
|
@ -10,4 +10,6 @@ void __init acpi_arm_init(void)
|
||||
acpi_apmt_init();
|
||||
if (IS_ENABLED(CONFIG_ACPI_IORT))
|
||||
acpi_iort_init();
|
||||
if (IS_ENABLED(CONFIG_ARM_AMBA))
|
||||
acpi_amba_init();
|
||||
}
|
||||
|
@ -4,3 +4,4 @@
|
||||
void __init acpi_agdi_init(void);
|
||||
void __init acpi_apmt_init(void);
|
||||
void __init acpi_iort_init(void);
|
||||
void __init acpi_amba_init(void);
|
||||
|
@ -28,11 +28,6 @@ void acpi_processor_init(void);
|
||||
void acpi_platform_init(void);
|
||||
void acpi_pnp_init(void);
|
||||
void acpi_int340x_thermal_init(void);
|
||||
#ifdef CONFIG_ARM_AMBA
|
||||
void acpi_amba_init(void);
|
||||
#else
|
||||
static inline void acpi_amba_init(void) {}
|
||||
#endif
|
||||
int acpi_sysfs_init(void);
|
||||
void acpi_gpe_apply_masked_gpes(void);
|
||||
void acpi_container_init(void);
|
||||
|
@ -2615,7 +2615,6 @@ void __init acpi_scan_init(void)
|
||||
acpi_watchdog_init();
|
||||
acpi_pnp_init();
|
||||
acpi_int340x_thermal_init();
|
||||
acpi_amba_init();
|
||||
acpi_init_lpit();
|
||||
|
||||
acpi_scan_add_handler(&generic_device_handler);
|
||||
|
Loading…
Reference in New Issue
Block a user