summaryrefslogtreecommitdiff
path: root/util/kconfig/conf.c
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2021-09-23 14:15:40 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-11-02 08:10:41 +0000
commit9f7c78b5ecc956912640dd382743307406b47c77 (patch)
treeb589936f5edead259da97fb95041c3fa85570e91 /util/kconfig/conf.c
parentc710ee731945f7aeda907fa04d68368ddcafcf0c (diff)
util/kconfig: Uprev to Linux 5.14's kconfig
Upstream's changes have been minimal, to the perl script that we don't use and a constness change, so I expect no harm. Still, this keeps us in sync with the official version. Change-Id: I5e5a2400bc3323938da4b946930e2ec119819672 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57880 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/kconfig/conf.c')
-rw-r--r--util/kconfig/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/kconfig/conf.c b/util/kconfig/conf.c
index 803447ae45..bc7b2f69e3 100644
--- a/util/kconfig/conf.c
+++ b/util/kconfig/conf.c
@@ -680,7 +680,7 @@ static void check_conf(struct menu *menu)
check_conf(child);
}
-static struct option long_opts[] = {
+static const struct option long_opts[] = {
{"help", no_argument, NULL, 'h'},
{"silent", no_argument, NULL, 's'},
{"oldaskconfig", no_argument, &input_mode_opt, oldaskconfig},