Skip to contentSkip to conversation

serial: liteuart: fix MODULE_ALIAS

PATCH In review Alyssa Ross 2 participants 2 messages Jan 4, 2022 – Jan 16, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial: liteuart: fix MODULE_ALIAS

modprobe can't handle spaces in aliases.

Fixes 1da81e5562fa ("drivers/tty/serial: add LiteUART driver")
---
 drivers/tty/serial/liteuart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/liteuart.c +1 -1
index 2941659e5274..7f74bf7bdcff 100644
@@ -436,4 +436,4 @@ module_exit(liteuart_exit);
 MODULE_AUTHOR("Antmicro <www.antmicro.com>");
 MODULE_DESCRIPTION("LiteUART serial driver");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform: liteuart");
+MODULE_ALIAS("platform:liteuart");

base-commit: c9e6606c7fe92b50a02ce51dda82586ebdf99b48

Signature · 1 line
2.33.0
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Alyssa Ross

modprobe can't handle spaces in aliases.

Fixes 1da81e5562fa ("drivers/tty/serial: add LiteUART driver")
---
 drivers/tty/serial/liteuart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/liteuart.c +0 -0
index 2941659e5274..7f74bf7bdcff 100644

drivers/tty/serial/liteuart.c module_exit(liteuart_exit); · line 439

Quoted 5 lines
drivers/tty/serial/liteuart.c +1 -1
@@ -436,4 +436,4 @@ module_exit(liteuart_exit);
 MODULE_AUTHOR("Antmicro <www.antmicro.com>");
 MODULE_DESCRIPTION("LiteUART serial driver");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform: liteuart");
+MODULE_ALIAS("platform:liteuart");

This looks fine to me.

Quoted 4 lines

base-commit: c9e6606c7fe92b50a02ce51dda82586ebdf99b48

Signature · 1 line
2.33.0