Loading drivers/platform/msm/gsi/Makefile +1 −1 Original line number Diff line number Diff line gsidbg-$(CONFIG_DEBUG_FS) += gsi_dbg.o gsidbg-$(CONFIG_GSI) += gsi_dbg.o obj-$(CONFIG_GSI) += gsi.o gsidbg.o obj-$(CONFIG_IPA_EMULATION) += gsi_emulation.o drivers/platform/msm/gsi/gsi_dbg.c +5 −1 Original line number Diff line number Diff line /* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -25,7 +25,9 @@ #define PRT_STAT(fmt, args...) \ pr_err(fmt, ## args) #ifdef CONFIG_DEBUG_FS static struct dentry *dent; #endif static char dbg_buff[4096]; static void *gsi_ipc_logbuf_low; Loading Loading @@ -697,6 +699,7 @@ const struct file_operations gsi_ipc_low_ops = { .write = gsi_enable_ipc_low, }; #ifdef CONFIG_DEBUG_FS void gsi_debugfs_init(void) { static struct dentry *dfile; Loading Loading @@ -768,4 +771,5 @@ void gsi_debugfs_init(void) fail: debugfs_remove_recursive(dent); } #endif Loading
drivers/platform/msm/gsi/Makefile +1 −1 Original line number Diff line number Diff line gsidbg-$(CONFIG_DEBUG_FS) += gsi_dbg.o gsidbg-$(CONFIG_GSI) += gsi_dbg.o obj-$(CONFIG_GSI) += gsi.o gsidbg.o obj-$(CONFIG_IPA_EMULATION) += gsi_emulation.o
drivers/platform/msm/gsi/gsi_dbg.c +5 −1 Original line number Diff line number Diff line /* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -25,7 +25,9 @@ #define PRT_STAT(fmt, args...) \ pr_err(fmt, ## args) #ifdef CONFIG_DEBUG_FS static struct dentry *dent; #endif static char dbg_buff[4096]; static void *gsi_ipc_logbuf_low; Loading Loading @@ -697,6 +699,7 @@ const struct file_operations gsi_ipc_low_ops = { .write = gsi_enable_ipc_low, }; #ifdef CONFIG_DEBUG_FS void gsi_debugfs_init(void) { static struct dentry *dfile; Loading Loading @@ -768,4 +771,5 @@ void gsi_debugfs_init(void) fail: debugfs_remove_recursive(dent); } #endif