projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca40daf
)
lib/cmdline: Export next_arg() for being used in modules
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Mon, 1 Mar 2021 16:59:31 +0000
(18:59 +0200)
committer
Bartosz Golaszewski
<bgolaszewski@baylibre.com>
Wed, 5 May 2021 14:07:40 +0000
(16:07 +0200)
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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
lib/cmdline.c
patch
|
blob
|
history
diff --git
a/lib/cmdline.c
b/lib/cmdline.c
index
5d474c6
..
5546bf5
100644
(file)
--- 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);