diff options
author | Gustavo Pimentel <Gustavo.Pimentel@synopsys.com> | 2021-02-18 22:04:05 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-03-16 20:28:53 +0300 |
commit | 5244ac2e2e34d1f558ae690f10882ebe42365ea2 (patch) | |
tree | 9f17fe96da354e25d4121011c841cf43ca3e2e07 /drivers/dma/dw-edma/dw-edma-core.h | |
parent | da6e0dd54135e51ca858ee231674ba93ca4ba89f (diff) | |
download | linux-5244ac2e2e34d1f558ae690f10882ebe42365ea2.tar.xz |
dmaengine: dw-edma: Move struct dentry variable from static definition into dw_edma struct
Move struct dentry variable from static definition (dw-edma-v0-debugfs.c)
into dw_edma struct (dw-edma-core.h)
Also the variable was renamed from base_dir to debugfs.
Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Link: https://lore.kernel.org/r/07c1167b671e7b175700e2e7061cf0b3dd8c6adb.1613674948.git.gustavo.pimentel@synopsys.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/dw-edma/dw-edma-core.h')
-rw-r--r-- | drivers/dma/dw-edma/dw-edma-core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dma/dw-edma/dw-edma-core.h b/drivers/dma/dw-edma/dw-edma-core.h index cba543655e33..60316d408c3e 100644 --- a/drivers/dma/dw-edma/dw-edma-core.h +++ b/drivers/dma/dw-edma/dw-edma-core.h @@ -137,6 +137,9 @@ struct dw_edma { const struct dw_edma_core_ops *ops; raw_spinlock_t lock; /* Only for legacy */ +#ifdef CONFIG_DEBUG_FS + struct dentry *debugfs; +#endif /* CONFIG_DEBUG_FS */ }; struct dw_edma_sg { |