aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-01-25 05:18:29 -0500
committerDan Williams <dan.j.williams@intel.com>2011-01-31 01:27:20 -0500
commit1f7622ca55b1f5875e32140b4781759f800aded3 (patch)
tree497cec7fa885514f24ff19c10b21a2fb6e27b7df /drivers
parent822c567639971628ceba2c53531670d595e3164d (diff)
dma40: make d40_log_buf_to_lli static
Acked-by: Per Forlin <per.forlin@stericsson.com> Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/ste_dma40_ll.c2
-rw-r--r--drivers/dma/ste_dma40_ll.h7
2 files changed, 1 insertions, 8 deletions
diff --git a/drivers/dma/ste_dma40_ll.c b/drivers/dma/ste_dma40_ll.c
index 509a13049d7e..876aad2c838a 100644
--- a/drivers/dma/ste_dma40_ll.c
+++ b/drivers/dma/ste_dma40_ll.c
@@ -363,7 +363,7 @@ static void d40_log_fill_lli(struct d40_log_lli *lli,
363 363
364} 364}
365 365
366struct d40_log_lli *d40_log_buf_to_lli(struct d40_log_lli *lli_sg, 366static struct d40_log_lli *d40_log_buf_to_lli(struct d40_log_lli *lli_sg,
367 dma_addr_t addr, 367 dma_addr_t addr,
368 int size, 368 int size,
369 u32 lcsp13, /* src or dst*/ 369 u32 lcsp13, /* src or dst*/
diff --git a/drivers/dma/ste_dma40_ll.h b/drivers/dma/ste_dma40_ll.h
index cd94afd9c2f2..4626c8874374 100644
--- a/drivers/dma/ste_dma40_ll.h
+++ b/drivers/dma/ste_dma40_ll.h
@@ -313,13 +313,6 @@ int d40_phy_sg_to_lli(struct scatterlist *sg,
313 313
314/* Logical channels */ 314/* Logical channels */
315 315
316struct d40_log_lli *d40_log_buf_to_lli(struct d40_log_lli *lli_sg,
317 dma_addr_t addr,
318 int size,
319 u32 lcsp13, /* src or dst*/
320 u32 data_width1, u32 data_width2,
321 bool addr_inc);
322
323int d40_log_sg_to_lli(struct scatterlist *sg, 316int d40_log_sg_to_lli(struct scatterlist *sg,
324 int sg_len, 317 int sg_len,
325 dma_addr_t dev_addr, 318 dma_addr_t dev_addr,