summaryrefslogtreecommitdiffstats
path: root/common/ratp
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-03-12 09:04:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-20 15:43:58 +0200
commit932fff4911529d3663fa01b99cfb5dddb42feb6e (patch)
tree658b59aecea7960217fd063dac58cc450548097a /common/ratp
parentc10b20dc83ac25b1d81c39eaad4529d9911813b1 (diff)
downloadbarebox-932fff4911529d3663fa01b99cfb5dddb42feb6e.tar.gz
barebox-932fff4911529d3663fa01b99cfb5dddb42feb6e.tar.xz
poller: Give pollers a name
It helps debugging when pollers have a name, so give them one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/ratp')
-rw-r--r--common/ratp/ratp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ratp/ratp.c b/common/ratp/ratp.c
index ca751a30eb..556dc638d8 100644
--- a/common/ratp/ratp.c
+++ b/common/ratp/ratp.c
@@ -451,7 +451,7 @@ int barebox_ratp(struct console_device *cdev)
if (ret < 0)
goto out;
- ret = poller_register(&ctx->poller);
+ ret = poller_register(&ctx->poller, "ratp");
if (ret)
goto out1;