summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/dmi_scan.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-01-23 23:50:01 -0500
committerLen Brown <len.brown@intel.com>2008-01-23 23:50:01 -0500
commit63eac9badbe35054c0ae61a9dbcf4830c7429040 (patch)
tree2bea2d6df5f2dc9306c9fc17c8755ed3c56d4a12 /drivers/firmware/dmi_scan.c
parent3645ca8359328ea4c75bce4af54ad24028381f30 (diff)
parenta1bd4e35e8d9df24db7d7addd74cbfcc87ec9fb3 (diff)
downloadtalos-obmc-linux-63eac9badbe35054c0ae61a9dbcf4830c7429040.tar.gz
talos-obmc-linux-63eac9badbe35054c0ae61a9dbcf4830c7429040.zip
Pull dmi-2.6.24 into release branch
Diffstat (limited to 'drivers/firmware/dmi_scan.c')
-rw-r--r--drivers/firmware/dmi_scan.c8
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)
return year;
}
+/**
+ * dmi_get_slot - return dmi_ident[slot]
+ * @slot: index into dmi_ident[]
+ */
+char *dmi_get_slot(int slot)
+{
+ return(dmi_ident[slot]);
+}
OpenPOWER on IntegriCloud