From 35cbe6b646dfcdf563cc6b9265c1291bbe799870 Mon Sep 17 00:00:00 2001 From: Brad Griffis Date: Wed, 1 May 2024 16:28:46 +0000 Subject: [PATCH] Revert "rtl8822ce: Remove pr_debug redefinition" This reverts commit 564ce2a709cfb300aa2cb092a708452d2ce2c274. This commit is not present in the build sent to Canonical. Remove the patch here for consistency. Bug 3844473 Change-Id: I912336180cd041244c60196d35feb433407e83b1 Signed-off-by: Brad Griffis Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3129488 Reviewed-by: Amulya Yarlagadda GVS: Gerrit_Virtual_Submit --- drivers/net/wireless/realtek/rtl8822ce/hal/phydm/phydm_debug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/realtek/rtl8822ce/hal/phydm/phydm_debug.h b/drivers/net/wireless/realtek/rtl8822ce/hal/phydm/phydm_debug.h index 08c6a52b..06e809b5 100644 --- a/drivers/net/wireless/realtek/rtl8822ce/hal/phydm/phydm_debug.h +++ b/drivers/net/wireless/realtek/rtl8822ce/hal/phydm/phydm_debug.h @@ -88,6 +88,8 @@ #elif (DM_ODM_SUPPORT_TYPE == ODM_CE) && defined(DM_ODM_CE_MAC80211) #define PHYDM_SNPRINTF snprintf #elif (DM_ODM_SUPPORT_TYPE == ODM_CE) + #undef pr_debug + #define pr_debug printk #define RT_PRINTK(fmt, args...) pr_debug(fmt, ## args) #define RT_DISP(dbgtype, dbgflag, printstr) #define RT_TRACE(adapter, comp, drv_level, fmt, args...) \