diff mbox series

[1/1] tty: serial: uartlite: allow 64 bit address

Message ID 20211123184506.1184561-1-lizhi.hou@xilinx.com
State Superseded
Headers show
Series [1/1] tty: serial: uartlite: allow 64 bit address | expand

Commit Message

Lizhi Hou Nov. 23, 2021, 6:45 p.m. UTC
Fix the uartlite probe failure when it is mapped to address above 4G.

Signed-off-by: Lizhi Hou <lizhi.hou@xilinx.com>
---
 drivers/tty/serial/uartlite.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index d3d9566e5dbd..e1fa52d31474 100644
--- a/drivers/tty/serial/uartlite.c
+++ b/drivers/tty/serial/uartlite.c
@@ -626,7 +626,7 @@  static struct uart_driver ulite_uart_driver = {
  *
  * Returns: 0 on success, <0 otherwise
  */
-static int ulite_assign(struct device *dev, int id, u32 base, int irq,
+static int ulite_assign(struct device *dev, int id, phys_addr_t base, int irq,
 			struct uartlite_data *pdata)
 {
 	struct uart_port *port;