[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240531101959.181457-1-daniel@zonque.org>
Date: Fri, 31 May 2024 12:19:59 +0200
From: Daniel Mack <daniel@...que.org>
To: gregkh@...uxfoundation.org,
hvilleneuve@...onoff.com
Cc: linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org,
Daniel Mack <daniel@...que.org>
Subject: [PATCH] serial: sc16is7xx: set driver name
Set the drv_name field of the driver struct so that the tty core
registers a procfs entry for it. This is useful for debugging.
Signed-off-by: Daniel Mack <daniel@...que.org>
---
drivers/tty/serial/sc16is7xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c
index bf0065d1c8e9..308edbacda7b 100644
--- a/drivers/tty/serial/sc16is7xx.c
+++ b/drivers/tty/serial/sc16is7xx.c
@@ -351,6 +351,7 @@ static struct uart_driver sc16is7xx_uart = {
.owner = THIS_MODULE,
.driver_name = SC16IS7XX_NAME,
.dev_name = "ttySC",
+ .driver_name = SC16IS7XX_NAME,
.nr = SC16IS7XX_MAX_DEVS,
};
--
2.45.1
Powered by blists - more mailing lists