[PATCH 01/23] lib: cmdline: export next_arg()
From: Bartosz Golaszewski
Date: Fri Sep 04 2020 - 11:51:03 EST
From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
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 <bgolaszewski@xxxxxxxxxxxx>
---
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