summaryrefslogtreecommitdiff
path: root/include/dma.h
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2015-07-24 16:53:23 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-27 22:19:16 +0000
commit909fccfd5a340d5f683f9d2b5f1406b931239ec5 (patch)
treee0fd29e4e72c5bc39498b1b387d69c91afdb97c5 /include/dma.h
parent198fd7f2c2cc09df0bc28406051a14b2c8bd401c (diff)
downloadchrome-ec-909fccfd5a340d5f683f9d2b5f1406b931239ec5.tar.gz
common: Change interface to dma_test
Allow to test any DMA channel. BRANCH=smaug TEST=Use dmahelp on Ryu BUG=chrome-os-partner:42304 Change-Id: I68606cdd34aa03bbeed9b5a4ababcad780384cc0 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/288510 Reviewed-by: Sheng-liang Song <ssl@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/dma.h')
-rw-r--r--include/dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dma.h b/include/dma.h
index 3ecef70361..03d4d3bdb6 100644
--- a/include/dma.h
+++ b/include/dma.h
@@ -107,7 +107,7 @@ void dma_dump(enum dma_channel channel);
/**
* Testing: Test that DMA works correctly for memory to memory transfers
*/
-void dma_test(void);
+void dma_test(enum dma_channel channel);
#endif /* CONFIG_DMA_HELP */
/**