lkml.org 
[lkml]   [2012]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/14] ARM: LPC32xx: Add DMA configuration to platform data
On Mon, Jun 11, 2012 at 01:02:07PM +0200, Roland Stigge wrote:
> +static int pl08x_get_signal(struct pl08x_dma_chan *ch)
> +{
> + return ch->cd->min_signal;
> +}
> +
> +static void pl08x_put_signal(struct pl08x_dma_chan *ch)
> +{
> +}

These change in my unstable/dma-pl08x branch, patches have been posted
already, but I don't deem them to be totally stable yet. Waiting on
OMAP people to get their mainline kernel restored to a buildable state
so I can continue my DMA engine work.

> +
> static struct pl08x_platform_data pl08x_pd = {
> + .slave_channels = &pl08x_slave_channels[0],
> + .num_slave_channels = ARRAY_SIZE(pl08x_slave_channels),
> + .get_signal = &pl08x_get_signal,
> + .put_signal = &pl08x_put_signal,

No need to take the address of a function here.


\
 
 \ /
  Last update: 2012-06-11 14:02    [W:0.170 / U:1.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site