Skip to content

Commit

Permalink
dmaengine: bcm2835: Document struct bcm2835_dmadev
Browse files Browse the repository at this point in the history
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 <lukas@wunner.de>
Cc: Frank Pavlic <f.pavlic@kunbus.de>
Cc: Martin Sperl <kernel@martin.sperl.org>
Cc: Florian Kauer <florian.kauer@koalo.de>
  • Loading branch information
l1k committed May 11, 2019
1 parent 2911bb6 commit cef4542
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/dma/bcm2835-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
#define BCM2835_DMA_MAX_DMA_CHAN_SUPPORTED 14
#define BCM2835_DMA_CHAN_NAME_SIZE 8

/**
* struct bcm2835_dmadev - BCM2835 DMA controller
* @ddev: DMA device
* @base: base address of register map
* @dma_parms: DMA parameters (to convey 1 GByte max segment size to clients)
*/
struct bcm2835_dmadev {
struct dma_device ddev;
void __iomem *base;
Expand Down

0 comments on commit cef4542

Please sign in to comment.