From b77f682d3cfcf7574e1cdeb660c50714fe6816fc Mon Sep 17 00:00:00 2001 From: Zhen Chen Date: Mon, 9 Jan 2023 16:04:47 +0800 Subject: [PATCH] MALI: bifrost: fix a compilation error when DEBUG_FS and MALI_CSF_SUPPORT are disabled Signed-off-by: Zhen Chen Change-Id: I8f4228ccc6a8ef5d9bb9f3cb43a10fd091bbc5c5 --- drivers/gpu/arm/bifrost/device/mali_kbase_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/arm/bifrost/device/mali_kbase_device.c b/drivers/gpu/arm/bifrost/device/mali_kbase_device.c index fa3669a409e2..053400bd63f0 100644 --- a/drivers/gpu/arm/bifrost/device/mali_kbase_device.c +++ b/drivers/gpu/arm/bifrost/device/mali_kbase_device.c @@ -441,7 +441,6 @@ void kbase_device_vinstr_term(struct kbase_device *kbdev) kbase_vinstr_term(kbdev->vinstr_ctx); } -#if defined(CONFIG_DEBUG_FS) && !IS_ENABLED(CONFIG_MALI_BIFROST_NO_MALI) int kbase_device_kinstr_prfcnt_init(struct kbase_device *kbdev) { return kbase_kinstr_prfcnt_init(kbdev->hwcnt_gpu_virt, @@ -453,6 +452,7 @@ void kbase_device_kinstr_prfcnt_term(struct kbase_device *kbdev) kbase_kinstr_prfcnt_term(kbdev->kinstr_prfcnt_ctx); } +#if defined(CONFIG_DEBUG_FS) && !IS_ENABLED(CONFIG_MALI_BIFROST_NO_MALI) int kbase_device_io_history_init(struct kbase_device *kbdev) { return kbase_io_history_init(&kbdev->io_history,