Skip to content

Commit 6c78c0a

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 452c943 commit 6c78c0a

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
@@ -37,6 +37,12 @@
3737
#define BCM2835_DMA_MAX_DMA_CHAN_SUPPORTED 14
3838
#define BCM2835_DMA_CHAN_NAME_SIZE 8
3939

40+
/**
41+
* struct bcm2835_dmadev - BCM2835 DMA controller
42+
* @ddev: DMA device
43+
* @base: base address of register map
44+
* @dma_parms: DMA parameters (to convey 1 GByte max segment size to clients)
45+
*/
4046
struct bcm2835_dmadev {
4147
struct dma_device ddev;
4248
void __iomem *base;

0 commit comments

Comments
 (0)