From 45903d628b647ad9816f65a984a67e1f181c8e6d Mon Sep 17 00:00:00 2001 From: praagarwal Date: Tue, 6 Jun 2023 10:49:13 +0000 Subject: [PATCH] tegra_bootloader_debug: change bl_bcp_ptr variable change bl_bcp_ptr variable name to a relevent name, boot_cfg_dataptr, for tegra_bl_bcp_arg as mentioned in a previous file tegra_bootloader_debug_init.c for 5.15 Bug 3896536 Change-Id: I039ca2b0578d476908c1b6ee8327971dac82038b Signed-off-by: praagarwal Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2916405 Reviewed-by: Deepak Nibade GVS: Gerrit_Virtual_Submit --- drivers/platform/tegra/tegra_bootloader_debug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/platform/tegra/tegra_bootloader_debug.c b/drivers/platform/tegra/tegra_bootloader_debug.c index adfa35b5..f1bd5040 100644 --- a/drivers/platform/tegra/tegra_bootloader_debug.c +++ b/drivers/platform/tegra/tegra_bootloader_debug.c @@ -39,7 +39,7 @@ static const char *boot_cfg = "boot_cfg"; static char *bl_debug_data = "0@0x0"; static char *bl_prof_dataptr = "0@0x0"; static char *bl_prof_ro_ptr = "0@0x0"; -static char *bl_bcp_ptr = "0@0x0"; +static char *boot_cfg_dataptr = "0@0x0"; struct gr_address_value { unsigned int gr_address; @@ -641,7 +641,7 @@ static int __init tegra_bl_debuginit_module_init(void) if (err != 0) return err; - err = tegra_bl_args(bl_bcp_ptr, + err = tegra_bl_args(boot_cfg_dataptr, &tegra_bl_bcp_size, &tegra_bl_bcp_start); @@ -685,7 +685,7 @@ static void __exit tegra_bl_debuginit_module_exit(void) module_param(bl_debug_data, charp, 0400); module_param(bl_prof_dataptr, charp, 0400); module_param(bl_prof_ro_ptr, charp, 0400); -module_param(bl_bcp_ptr, charp, 0400); +module_param(boot_cfg_dataptr, charp, 0400); module_init(tegra_bl_debuginit_module_init); module_exit(tegra_bl_debuginit_module_exit);