]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/amd/hsmp: Move ACPI code to acpi.c
authorSuma Hegde <suma.hegde@amd.com>
Mon, 21 Oct 2024 11:14:23 +0000 (11:14 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 22 Oct 2024 10:36:55 +0000 (13:36 +0300)
commit969f915473d8cb0e298234ee313370b6a2da69f3
tree98ce44770fe8495eb09f5ecaf01030a5dd7f2e40
parente47c018a0ee6962fe3dd895407e2c49538cc066d
platform/x86/amd/hsmp: Move ACPI code to acpi.c

An upcoming change splits HSMP driver into ACPI and platform device
variants. Prepare for the split by moving ACPI related code
to acpi.c from hsmp.c. Common code is kept in hsmp.c.

No logical/functional change.
We still have one driver at this point,
the driver probe will be split in the next patch.

Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20241021111428.2676884-6-suma.hegde@amd.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/hsmp/Makefile
drivers/platform/x86/amd/hsmp/acpi.c [new file with mode: 0644]
drivers/platform/x86/amd/hsmp/hsmp.c
drivers/platform/x86/amd/hsmp/hsmp.h