Files
Linux/include/linux
Arnd Bergmann b3b180e735 dmaengine: remove debugfs #ifdef
The ptdma driver has added debugfs support, but this fails to build
when debugfs is disabled:

drivers/dma/ptdma/ptdma-debugfs.c: In function 'ptdma_debugfs_setup':
drivers/dma/ptdma/ptdma-debugfs.c:93:54: error: 'struct dma_device' has no member named 'dbg_dev_root'
   93 |         debugfs_create_file("info", 0400, pt->dma_dev.dbg_dev_root, pt,
      |                                                      ^
drivers/dma/ptdma/ptdma-debugfs.c:96:55: error: 'struct dma_device' has no member named 'dbg_dev_root'
   96 |         debugfs_create_file("stats", 0400, pt->dma_dev.dbg_dev_root, pt,
      |                                                       ^
drivers/dma/ptdma/ptdma-debugfs.c:102:52: error: 'struct dma_device' has no member named 'dbg_dev_root'
  102 |                 debugfs_create_dir("q", pt->dma_dev.dbg_dev_root);
      |                                                    ^

Remove the #ifdef in the header, as this only saves a few bytes,
but would require ugly #ifdefs in each driver using it.
Simplify the other user while we're at it.

Fixes: e2fb2e2a33 ("dmaengine: ptdma: Add debugfs entries for PTDMA")
Fixes: 26cf132de6 ("dmaengine: Create debug directories for DMA devices")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
2021-10-25 12:01:14 +05:30
..
…
…
…
2021-09-02 22:49:16 +02:00
…
2021-07-21 19:54:21 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-08-29 14:47:42 +03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-08-16 10:50:32 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
2021-09-08 15:32:35 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-08-26 16:52:03 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-10-25 12:01:14 +05:30
…
…
…
…
…
…
…
2021-07-20 09:20:49 -07:00
…
…
…
…
…
…
…
2021-09-07 21:17:28 +02:00
…
…
2021-08-26 15:32:28 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-07-27 11:00:36 +02:00
2021-09-06 07:20:56 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-07-26 15:09:44 +02:00
…
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:44 +01:00
…
…
…
…
…
2021-09-03 09:58:13 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-08-05 11:46:42 +01:00
…
…
…
…
…
…
…
…
…
…
2021-08-16 21:26:33 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-07-15 10:13:49 -07:00
…
…
…
…
…
2021-07-27 17:05:06 +01:00
…
…
2021-08-19 09:02:55 +09:00
2021-07-27 09:29:15 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-08-23 13:19:12 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-07-20 06:55:20 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-08-18 22:08:24 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-09-02 21:38:56 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-08-17 17:50:51 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-08-06 13:41:48 -07:00
…
…
2021-08-19 09:02:55 +09:00
…
…
…
2021-08-19 09:02:55 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-07-27 12:17:21 +02:00
2021-07-27 12:12:08 +02:00
…
…
2021-09-08 15:32:35 -07:00
…
…
…
2021-09-03 19:31:33 -04:00
…
…
…
…
…
…
…
…
…
…
…
2021-08-10 11:50:55 -04:00
…
…
…
2021-08-11 06:44:24 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…