linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/2] lib/cmdline: Export next_arg() for being used in modules
@ 2021-03-01 16:59 Andy Shevchenko
  2021-03-01 16:59 ` [PATCH v1 2/2] gpio: aggregator: Replace custom get_arg() with a generic next_arg() Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Andy Shevchenko @ 2021-03-01 16:59 UTC (permalink / raw)
  To: Geert Uytterhoeven, Andy Shevchenko, linux-gpio, linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski

At least one module will benefit from using next_arg() helper.
Let's export it for that module and others if they consider it
helpful.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 lib/cmdline.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/cmdline.c b/lib/cmdline.c
index 5d474c626e24..5546bf588780 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -272,3 +272,4 @@ char *next_arg(char *args, char **param, char **val)
 	/* Chew up trailing spaces. */
 	return skip_spaces(args);
 }
+EXPORT_SYMBOL(next_arg);
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-03-08 16:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-01 16:59 [PATCH v1 1/2] lib/cmdline: Export next_arg() for being used in modules Andy Shevchenko
2021-03-01 16:59 ` [PATCH v1 2/2] gpio: aggregator: Replace custom get_arg() with a generic next_arg() Andy Shevchenko
2021-03-02 16:09   ` Linus Walleij
2021-03-04  9:01   ` Geert Uytterhoeven
2021-03-04 10:58     ` Andy Shevchenko
2021-03-02 16:24 ` [PATCH v1 1/2] lib/cmdline: Export next_arg() for being used in modules Linus Walleij
2021-03-04  8:53 ` Geert Uytterhoeven
2021-03-04 10:59   ` Andy Shevchenko
2021-03-08 15:38     ` Bartosz Golaszewski
2021-03-08 16:36       ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).