Skip to content

Commit

Permalink
serial: amba-pl011: fix !CONFIG_DMA_ENGINE case
Browse files Browse the repository at this point in the history
I changed the prototype of the function earlier but only
in the section for CONFIG_DMA_ENGINE, not the alternative.
This makes the driver build again, e.g. for vexpress_defconfig.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Apr 20, 2013
1 parent f54ae51 commit aabdd29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/amba-pl011.c
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ static inline bool pl011_dma_rx_running(struct uart_amba_port *uap)

#else
/* Blank functions if the DMA engine is not available */
static inline void pl011_dma_probe(struct uart_amba_port *uap)
static inline void pl011_dma_probe(struct device *dev, struct uart_amba_port *uap)
{
}

Expand Down

0 comments on commit aabdd29

Please sign in to comment.