diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firmware/dmi_scan.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c index 0cdadea7a40e..5e596a7e3601 100644 --- a/drivers/firmware/dmi_scan.c +++ b/drivers/firmware/dmi_scan.c | |||
@@ -470,3 +470,11 @@ int dmi_get_year(int field) | |||
470 | return year; | 470 | return year; |
471 | } | 471 | } |
472 | 472 | ||
473 | /** | ||
474 | * dmi_get_slot - return dmi_ident[slot] | ||
475 | * @slot: index into dmi_ident[] | ||
476 | */ | ||
477 | char *dmi_get_slot(int slot) | ||
478 | { | ||
479 | return(dmi_ident[slot]); | ||
480 | } | ||