* [PATCH] serial: name the semihosting console
@ 2026-08-25 8:53 Ahmad Fatoum
2026-08-28 13:04 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-08-25 8:53 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
This makes it easier to reference it without having to look at the
device/driver behind it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
drivers/serial/serial_semihosting.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/serial/serial_semihosting.c b/drivers/serial/serial_semihosting.c
index 02d2ade367d6..c4929ad08f1a 100644
--- a/drivers/serial/serial_semihosting.c
+++ b/drivers/serial/serial_semihosting.c
@@ -17,6 +17,8 @@ static int smh_serial_probe(struct device *dev)
cdev->dev = dev;
cdev->putc = smh_serial_putc;
+ cdev->devname = "semihosting";
+ cdev->devid = DEVICE_ID_SINGLE;
return console_register(cdev);
}
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] serial: name the semihosting console
2026-08-25 8:53 [PATCH] serial: name the semihosting console Ahmad Fatoum
@ 2026-08-28 13:04 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-08-28 13:04 UTC (permalink / raw)
To: barebox, Ahmad Fatoum
On Tue, 25 Aug 2026 10:53:37 +0200, Ahmad Fatoum wrote:
> This makes it easier to reference it without having to look at the
> device/driver behind it.
>
>
Applied, thanks!
[1/1] serial: name the semihosting console
https://git.pengutronix.de/cgit/barebox/commit/?id=60d8868a242e (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-28 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 8:53 [PATCH] serial: name the semihosting console Ahmad Fatoum
2026-08-28 13:04 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox