Thread (74 messages) 74 messages, 7 authors, 2020-09-11
STALE2130d

[PATCH 01/23] lib: cmdline: export next_arg()

From: Bartosz Golaszewski <hidden>
Date: 2020-09-04 15:51:03
Also in: linux-acpi, linux-gpio, lkml
Subsystem: library code, the rest · Maintainers: Andrew Morton, Linus Torvalds

From: Bartosz Golaszewski <redacted>

We want to use this helper in a module (gpio-mockup) for parsing user
input when creating dummy devices. Let's export it.

Signed-off-by: Bartosz Golaszewski <redacted>
---
 lib/cmdline.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/lib/cmdline.c b/lib/cmdline.c
index fbb9981a04a4..e194f76d546e 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -247,3 +247,4 @@ char *next_arg(char *args, char **param, char **val)
 	/* Chew up trailing spaces. */
 	return skip_spaces(next);
 }
+EXPORT_SYMBOL(next_arg);
-- 
2.26.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help