aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/dmi_scan.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c
index 78b989d202a3..d76adfea5df7 100644
--- a/drivers/firmware/dmi_scan.c
+++ b/drivers/firmware/dmi_scan.c
@@ -468,8 +468,8 @@ const char *dmi_get_system_info(int field)
468EXPORT_SYMBOL(dmi_get_system_info); 468EXPORT_SYMBOL(dmi_get_system_info);
469 469
470/** 470/**
471 * dmi_name_in_serial - Check if string is in the DMI product serial 471 * dmi_name_in_serial - Check if string is in the DMI product serial information
472 * information. 472 * @str: string to check for
473 */ 473 */
474int dmi_name_in_serial(const char *str) 474int dmi_name_in_serial(const char *str)
475{ 475{
@@ -585,6 +585,8 @@ EXPORT_SYMBOL_GPL(dmi_walk);
585 585
586/** 586/**
587 * dmi_match - compare a string to the dmi field (if exists) 587 * dmi_match - compare a string to the dmi field (if exists)
588 * @f: DMI field identifier
589 * @str: string to compare the DMI field to
588 * 590 *
589 * Returns true if the requested field equals to the str (including NULL). 591 * Returns true if the requested field equals to the str (including NULL).
590 */ 592 */