]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/amd/hsmp: Move platform device specific code to plat.c
authorSuma Hegde <suma.hegde@amd.com>
Mon, 21 Oct 2024 11:14:22 +0000 (11:14 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 22 Oct 2024 10:36:54 +0000 (13:36 +0300)
commite47c018a0ee6962fe3dd895407e2c49538cc066d
treec785f43c4e38753f263fc881948d47683ca20bbf
parent1757d2b8dcf6810d7356d8420606df5080e36260
platform/x86/amd/hsmp: Move platform device specific code to plat.c

An upcoming change splits HSMP driver into ACPI and platform device
variants. Prepare for the split by moving platform device part to plat.c.

No functinality/logical changes.
Common code which can be used by ACPI and platform device
remains in hsmp.c.
ACPI code in hsmp.c will be moved to acpi.c in 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-5-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/hsmp.c
drivers/platform/x86/amd/hsmp/hsmp.h
drivers/platform/x86/amd/hsmp/plat.c [new file with mode: 0644]