From: Andy Shevchenko Date: Mon, 1 Mar 2021 16:59:31 +0000 (+0200) Subject: lib/cmdline: Export next_arg() for being used in modules X-Git-Tag: accepted/tizen/unified/20230118.172025~7287^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65dd36a39d3b350dc96d8324b348f0863d76404d;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Linus Walleij Reviewed-by: Geert Uytterhoeven --- diff --git a/lib/cmdline.c b/lib/cmdline.c index 5d474c6..5546bf5 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);