platform/x86/amd/pmc: Move platform defines to header
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 12 Dec 2023 04:50:03 +0000 (22:50 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Jan 2024 10:51:45 +0000 (11:51 +0100)
commitf4fb4b9f1364cc6e46c9ab9a21225ace82e4f3bb
tree1046695b8683a052b9b3b1d9120f46c0c465d855
parent64954dd2eef16908f72f934cd2a29e648f9313df
platform/x86/amd/pmc: Move platform defines to header

[ Upstream commit 85980669a863514dd47761efd6c1bc4677a2ae08 ]

The platform defines will be used by the quirks in the future,
so move them to the common header to allow use by both source
files.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20231212045006.97581-2-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/amd/pmc/pmc.c
drivers/platform/x86/amd/pmc/pmc.h