lib/cmdline: Export next_arg() for being used in modules
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 1 Mar 2021 16:59:31 +0000 (18:59 +0200)
committerBartosz 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

index 5d474c626e245c17a8ebc1d6530311e5fa5acf5e..5546bf58878061863fe4950403168405f1cb2c23 100644 (file)
@@ -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);