From: Heinrich Schuchardt Date: Mon, 29 Jan 2024 12:58:18 +0000 (+0100) Subject: smbios: get_str_from_dt() - add sysinfo_id description X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=b327e64d5f541072d6a5051c05e5d55440a9038b;p=u-boot.git smbios: get_str_from_dt() - add sysinfo_id description Add description for parameter sysinfo_id of function get_str_from_dt(). Fixes: 07c9e683a484 ("smbios: Allow a few values to come from sysinfo") Signed-off-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- diff --git a/lib/smbios.c b/lib/smbios.c index 7bd9805fec..11b7611a84 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -207,6 +207,7 @@ void get_str_from_dt(const struct map_sysinfo *nprop, char *str, size_t size) * * @ctx: context for writing the tables * @prop: property to write + * @sysinfo_id: unique identifier for the string value to be read * @dval: Default value to use if the string is not found or is empty * Return: 0 if not found, else SMBIOS string number (1 or more) */