drivers: dma: clean up header
Move tables declaration as they are only used locally for now Signed-off-by: Francois Ramu <francois.ramu@st.com> Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
de4ba27539
commit
1b0503d2cd
2 changed files with 12 additions and 12 deletions
|
@ -7,18 +7,6 @@
|
|||
#ifndef DMA_STM32_H_
|
||||
#define DMA_STM32_H_
|
||||
|
||||
static u32_t table_m_size[] = {
|
||||
LL_DMA_MDATAALIGN_BYTE,
|
||||
LL_DMA_MDATAALIGN_HALFWORD,
|
||||
LL_DMA_MDATAALIGN_WORD,
|
||||
};
|
||||
|
||||
static u32_t table_p_size[] = {
|
||||
LL_DMA_PDATAALIGN_BYTE,
|
||||
LL_DMA_PDATAALIGN_HALFWORD,
|
||||
LL_DMA_PDATAALIGN_WORD,
|
||||
};
|
||||
|
||||
/* Maximum data sent in single transfer (Bytes) */
|
||||
#define DMA_STM32_MAX_DATA_ITEMS 0xffff
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue