diff options
author | Suma Hegde <suma.hegde@amd.com> | 2024-10-21 11:14:28 +0000 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-10-25 17:29:38 +0300 |
commit | 1349dd7dc21c63c9bad0e91fd1bf5f1ada34b0e2 (patch) | |
tree | 715d4e8cb7b27fc34f385404c0747141595cffa7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c1691730d9ffb8e813018235ad1b9754104cf67b (diff) |
platform/x86/amd/hsmp: Make hsmp_pdev static instead of global
Instead of making hsmp_pdev global and exporting this symbol from hsmp.c,
make it static and create a wrapper function get_hsmp_pdev() to access
hsmp_pdev from plat.c and acpi.c.
Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20241021111428.2676884-11-suma.hegde@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions