提交 8ba85f8b 编写于 作者: R Roland Stigge

ARM: LPC32xx: Adjust to pl08x DMA interface changes

This patch adjusts the LPC32xx platform support to the new pl08x DMA interface,
fixing the compile error resulting from changed pl08x structures.
Signed-off-by: NRoland Stigge <stigge@antcom.de>
上级 dcdd1339
...@@ -186,13 +186,12 @@ static struct pl08x_channel_data pl08x_slave_channels[] = { ...@@ -186,13 +186,12 @@ static struct pl08x_channel_data pl08x_slave_channels[] = {
}, },
}; };
/* NOTE: These will change, according to RMK */ static int pl08x_get_signal(const struct pl08x_channel_data *cd)
static int pl08x_get_signal(struct pl08x_dma_chan *ch)
{ {
return ch->cd->min_signal; return cd->min_signal;
} }
static void pl08x_put_signal(struct pl08x_dma_chan *ch) static void pl08x_put_signal(const struct pl08x_channel_data *cd, int ch)
{ {
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册