aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/dmi_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/dmi_scan.c')
-rw-r--r--arch/i386/kernel/dmi_scan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/i386/kernel/dmi_scan.c b/arch/i386/kernel/dmi_scan.c
index 6ed7e28f306c..3facd20212bb 100644
--- a/arch/i386/kernel/dmi_scan.c
+++ b/arch/i386/kernel/dmi_scan.c
@@ -414,6 +414,7 @@ static void __init dmi_decode(struct dmi_header *dm)
414 dmi_save_ident(dm, DMI_PRODUCT_VERSION, 6); 414 dmi_save_ident(dm, DMI_PRODUCT_VERSION, 6);
415 dmi_printk(("Serial Number: %s\n", 415 dmi_printk(("Serial Number: %s\n",
416 dmi_string(dm, data[7]))); 416 dmi_string(dm, data[7])));
417 dmi_save_ident(dm, DMI_PRODUCT_SERIAL, 7);
417 break; 418 break;
418 case 2: 419 case 2:
419 dmi_printk(("Board Vendor: %s\n", 420 dmi_printk(("Board Vendor: %s\n",
@@ -470,7 +471,6 @@ fail: d++;
470 471
471 return count; 472 return count;
472} 473}
473
474EXPORT_SYMBOL(dmi_check_system); 474EXPORT_SYMBOL(dmi_check_system);
475 475
476/** 476/**
@@ -480,8 +480,8 @@ EXPORT_SYMBOL(dmi_check_system);
480 * Returns one DMI data value, can be used to perform 480 * Returns one DMI data value, can be used to perform
481 * complex DMI data checks. 481 * complex DMI data checks.
482 */ 482 */
483char * dmi_get_system_info(int field) 483char *dmi_get_system_info(int field)
484{ 484{
485 return dmi_ident[field]; 485 return dmi_ident[field];
486} 486}
487 487EXPORT_SYMBOL(dmi_get_system_info);