aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-01-03 17:32:46 -0500
committerDan Williams <dan.j.williams@intel.com>2011-01-04 22:16:10 -0500
commit3e2a037c1de79af999a54581cbf1e8a5c933fd95 (patch)
treec4efba4ddeeaa99c8eae988feac9a2551d19957c /drivers/dma
parent98838f90d92f6f0abf6d6a99880c0ff3127633b8 (diff)
ARM: PL08x: fix sparse warnings
drivers/dma/amba-pl08x.c:1895:40: warning: Unknown escape '%' drivers/dma/amba-pl08x.c:1903:40: warning: Unknown escape '%' drivers/dma/amba-pl08x.c:513:6: warning: symbol 'pl08x_choose_master_bus' was not declared. Should it be static? drivers/dma/amba-pl08x.c:604:5: warning: symbol 'pl08x_fill_llis_for_desc' was not declared. Should it be static? drivers/dma/amba-pl08x.c:1442:32: warning: symbol 'pl08x_prep_slave_sg' was not declared. Should it be static? Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/amba-pl08x.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c
index 4ca1eb122e07..74fa5a0f1490 100644
--- a/drivers/dma/amba-pl08x.c
+++ b/drivers/dma/amba-pl08x.c
@@ -510,7 +510,7 @@ static inline u32 pl08x_cctl_bits(u32 cctl, u8 srcwidth, u8 dstwidth,
510 * this prefers the destination bus if both available 510 * this prefers the destination bus if both available
511 * if fixed address on one bus the other will be chosen 511 * if fixed address on one bus the other will be chosen
512 */ 512 */
513void pl08x_choose_master_bus(struct pl08x_bus_data *src_bus, 513static void pl08x_choose_master_bus(struct pl08x_bus_data *src_bus,
514 struct pl08x_bus_data *dst_bus, struct pl08x_bus_data **mbus, 514 struct pl08x_bus_data *dst_bus, struct pl08x_bus_data **mbus,
515 struct pl08x_bus_data **sbus, u32 cctl) 515 struct pl08x_bus_data **sbus, u32 cctl)
516{ 516{
@@ -545,7 +545,7 @@ void pl08x_choose_master_bus(struct pl08x_bus_data *src_bus,
545 * Fills in one LLI for a certain transfer descriptor 545 * Fills in one LLI for a certain transfer descriptor
546 * and advance the counter 546 * and advance the counter
547 */ 547 */
548int pl08x_fill_lli_for_desc(struct pl08x_driver_data *pl08x, 548static int pl08x_fill_lli_for_desc(struct pl08x_driver_data *pl08x,
549 struct pl08x_txd *txd, int num_llis, int len, 549 struct pl08x_txd *txd, int num_llis, int len,
550 u32 cctl, u32 *remainder) 550 u32 cctl, u32 *remainder)
551{ 551{
@@ -1439,7 +1439,7 @@ static struct dma_async_tx_descriptor *pl08x_prep_dma_memcpy(
1439 return &txd->tx; 1439 return &txd->tx;
1440} 1440}
1441 1441
1442struct dma_async_tx_descriptor *pl08x_prep_slave_sg( 1442static struct dma_async_tx_descriptor *pl08x_prep_slave_sg(
1443 struct dma_chan *chan, struct scatterlist *sgl, 1443 struct dma_chan *chan, struct scatterlist *sgl,
1444 unsigned int sg_len, enum dma_data_direction direction, 1444 unsigned int sg_len, enum dma_data_direction direction,
1445 unsigned long flags) 1445 unsigned long flags)
@@ -1890,7 +1890,7 @@ static int pl08x_debugfs_show(struct seq_file *s, void *data)
1890 seq_printf(s, "CHANNEL:\tSTATE:\n"); 1890 seq_printf(s, "CHANNEL:\tSTATE:\n");
1891 seq_printf(s, "--------\t------\n"); 1891 seq_printf(s, "--------\t------\n");
1892 list_for_each_entry(chan, &pl08x->memcpy.channels, chan.device_node) { 1892 list_for_each_entry(chan, &pl08x->memcpy.channels, chan.device_node) {
1893 seq_printf(s, "%s\t\t\%s\n", chan->name, 1893 seq_printf(s, "%s\t\t%s\n", chan->name,
1894 pl08x_state_str(chan->state)); 1894 pl08x_state_str(chan->state));
1895 } 1895 }
1896 1896
@@ -1898,7 +1898,7 @@ static int pl08x_debugfs_show(struct seq_file *s, void *data)
1898 seq_printf(s, "CHANNEL:\tSTATE:\n"); 1898 seq_printf(s, "CHANNEL:\tSTATE:\n");
1899 seq_printf(s, "--------\t------\n"); 1899 seq_printf(s, "--------\t------\n");
1900 list_for_each_entry(chan, &pl08x->slave.channels, chan.device_node) { 1900 list_for_each_entry(chan, &pl08x->slave.channels, chan.device_node) {
1901 seq_printf(s, "%s\t\t\%s\n", chan->name, 1901 seq_printf(s, "%s\t\t%s\n", chan->name,
1902 pl08x_state_str(chan->state)); 1902 pl08x_state_str(chan->state));
1903 } 1903 }
1904 1904