]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/dma.c
[NET]: Annotate callers of csum_fold() in net/*
[linux-2.6-omap-h63xx.git] / kernel / dma.c
index aef0a45b7893db2c7a5a2c94f67da7618e181bc9..2020644c938a48d0f34670765e788b32fed8900d 100644 (file)
@@ -62,6 +62,11 @@ static struct dma_chan dma_chan_busy[MAX_DMA_CHANNELS] = {
 };
 
 
+/**
+ * request_dma - request and reserve a system DMA channel
+ * @dmanr: DMA channel number
+ * @device_id: reserving device ID string, used in /proc/dma
+ */
 int request_dma(unsigned int dmanr, const char * device_id)
 {
        if (dmanr >= MAX_DMA_CHANNELS)
@@ -76,7 +81,10 @@ int request_dma(unsigned int dmanr, const char * device_id)
        return 0;
 } /* request_dma */
 
-
+/**
+ * free_dma - free a reserved system DMA channel
+ * @dmanr: DMA channel number
+ */
 void free_dma(unsigned int dmanr)
 {
        if (dmanr >= MAX_DMA_CHANNELS) {