From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA79610E5F1 for ; Fri, 5 Jan 2024 12:53:47 +0000 (UTC) From: Chaitanya Kumar Borah To: igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t 1/2] lib/i915/perf: include i915_pciid_local.h Date: Fri, 5 Jan 2024 18:16:40 +0530 Message-Id: <20240105124641.784371-2-chaitanya.kumar.borah@intel.com> In-Reply-To: <20240105124641.784371-1-chaitanya.kumar.borah@intel.com> References: <20240105124641.784371-1-chaitanya.kumar.borah@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: perf.c uses PCI ID macros not found in kernel header i915_pciid.h. Therefore include i915_pciid_local.h instead of i915_pciid.h so that we can move these macros to the local file. That way we don't lose them when i915_pciid.h is synced with kernel. Signed-off-by: Chaitanya Kumar Borah Cc: Matt Roper Cc: Juha-Pekka Heikkila Cc: Kamil Konieczny Cc: Lionel Landwerlin Cc: Niranjana Vishwanathapura --- lib/i915/perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/i915/perf.c b/lib/i915/perf.c index ddadb53b6..2006dd4ad 100644 --- a/lib/i915/perf.c +++ b/lib/i915/perf.c @@ -37,7 +37,7 @@ #include -#include "i915_pciids.h" +#include "i915_pciids_local.h" #include "intel_chipset.h" #include "perf.h" -- 2.25.1