summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-06-17 14:09:42 +0200
committerJean Delvare <jdelvare@suse.de>2018-06-17 14:09:42 +0200
commitb23908d3c48a37c46c6a26df2cdeab1610b360ba (patch)
tree0019944e2aa3abc4b752127e9a13a6936e95ad9a /include
parent29dcea88779c856c7dc92040a0c01233263101d4 (diff)
downloadop-kernel-dev-b23908d3c48a37c46c6a26df2cdeab1610b360ba.zip
op-kernel-dev-b23908d3c48a37c46c6a26df2cdeab1610b360ba.tar.gz
firmware: dmi: Add access to the SKU ID string
This is used in some systems from user space for determining the identity of the device. Expose this as a file so that that user-space tools don't need to read from /sys/firmware/dmi/tables/DMI Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mod_devicetable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 7d361be..61fbfbc 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -490,6 +490,7 @@ enum dmi_field {
DMI_PRODUCT_VERSION,
DMI_PRODUCT_SERIAL,
DMI_PRODUCT_UUID,
+ DMI_PRODUCT_SKU,
DMI_PRODUCT_FAMILY,
DMI_BOARD_VENDOR,
DMI_BOARD_NAME,
OpenPOWER on IntegriCloud