Skip to content

Commit

Permalink
ARM: LPC32xx: Adjust to pl08x DMA interface changes
Browse files Browse the repository at this point in the history
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: Roland Stigge <stigge@antcom.de>
  • Loading branch information
Roland Stigge committed Jul 12, 2012
1 parent dcdd133 commit 8ba85f8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions arch/arm/mach-lpc32xx/phy3250.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,12 @@ static struct pl08x_channel_data pl08x_slave_channels[] = {
},
};

/* NOTE: These will change, according to RMK */
static int pl08x_get_signal(struct pl08x_dma_chan *ch)
static int pl08x_get_signal(const struct pl08x_channel_data *cd)
{
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)
{
}

Expand Down

0 comments on commit 8ba85f8

Please sign in to comment.