summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-03-01 18:59:31 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-05-05 16:07:40 +0200
commit65dd36a39d3b350dc96d8324b348f0863d76404d (patch)
tree96313bee685d7804a9ee7e0e930dd23ecd0dd78b /lib
parentca40daf39daf62355d87287a8732cadb62d13e2e (diff)
downloadlinux-65dd36a39d3b350dc96d8324b348f0863d76404d.tar.gz
linux-65dd36a39d3b350dc96d8324b348f0863d76404d.tar.bz2
linux-65dd36a39d3b350dc96d8324b348f0863d76404d.zip
lib/cmdline: Export next_arg() for being used in modules
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/cmdline.c1
1 files changed, 1 insertions, 0 deletions
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);