Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aabdd290 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

serial: amba-pl011: fix !CONFIG_DMA_ENGINE case



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: default avatarArnd Bergmann <arnd@arndb.de>
parent f54ae513
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{
}