From c6fc11080f25785db2bab19c222ee20d4dfbff72 Mon Sep 17 00:00:00 2001 From: Sameer Pujar Date: Wed, 4 Oct 2017 12:30:32 +0530 Subject: [PATCH] nvadsp: fix compilation warning. This patch fixes following warning, warning: symbol 'nvadsp_tegra_adma_dump_ch_reg' was not declared Bug 200299572 Change-Id: I6d4b06b73d7d8928a08c975c305bf76d8ac58568 Signed-off-by: Sameer Pujar Reviewed-on: https://git-master.nvidia.com/r/1572940 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam --- drivers/platform/tegra/nvadsp/os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/tegra/nvadsp/os.c b/drivers/platform/tegra/nvadsp/os.c index 40e6cbcd..eb9f9d9b 100644 --- a/drivers/platform/tegra/nvadsp/os.c +++ b/drivers/platform/tegra/nvadsp/os.c @@ -142,7 +142,7 @@ static irqreturn_t adsp_wfi_handler(int irq, void *arg); * set by adsp audio driver through exported api nvadsp_set_adma_dump_reg * used to dump adma registers incase of failures for debug */ -void (*nvadsp_tegra_adma_dump_ch_reg)(void) = NULL; +static void (*nvadsp_tegra_adma_dump_ch_reg)(void); #ifdef CONFIG_DEBUG_FS static int adsp_logger_open(struct inode *inode, struct file *file)