Skip to content

Commit 05c1efd

Browse files
committed
dmaengine: bcm2835: Document struct bcm2835_dmadev
Document the BCM2835 DMA driver's device data structure so that upcoming commits may add further members with proper kerneldoc. Signed-off-by: Lukas Wunner <[email protected]> Cc: Martin Sperl <[email protected]> Cc: Florian Kauer <[email protected]>
1 parent 72eaaa4 commit 05c1efd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/dma/bcm2835-dma.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@
4848
#define BCM2835_DMA_CHAN_NAME_SIZE 8
4949
#define BCM2835_DMA_BULK_MASK BIT(0)
5050

51+
/**
52+
* struct bcm2835_dmadev - BCM2835 DMA controller
53+
* @ddev: DMA device
54+
* @base: base address of register map
55+
* @dma_parms: DMA parameters (to convey 1 GByte max segment size to clients)
56+
*/
5157
struct bcm2835_dmadev {
5258
struct dma_device ddev;
5359
void __iomem *base;

0 commit comments

Comments
 (0)