uncore-pmu: Get rid of explicit header inclusion

Move the header "dmce_perfmon.h" to uncore_pmu
driver folder to avoid include of header path
explicitly. This header is only used by the uncore_pmu
driver.

Bug 4087103

Change-Id: I23e3c166861d851f81a7f41e5493cef58aa79531
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2894622
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Eric Funsten <efunsten@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-04-26 06:36:35 +00:00
committed by mobile promotions
parent e8583efabf
commit 062b669392
3 changed files with 3 additions and 6 deletions

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
GCOV_PROFILE := y
LINUXINCLUDE += -I$(srctree)/drivers/platform/tegra/include \
-I$(srctree.nvidia-oot)/drivers/platform/tegra/
obj-m += tegra23x_perf_uncore.o

View File

@@ -17,7 +17,7 @@
#include <asm/sysreg.h>
#include <soc/tegra/fuse.h>
#include <linux/platform/tegra/tegra-mce.h>
#include <dmce_perfmon.h>
#include "dmce_perfmon.h"
/* NV_PMSELR group and unit selection register */
#define PMSELR_GROUP_SCF 0x0