Skip to content

Commit e26f023

Browse files
KaiChuan-Hsiehjdelvare
authored andcommitted
firmware/dmi: Include product_sku info to modalias
Some Dell platforms rely on modalias to customize configuration, the product sku can be more specific for the hardware. Add product_sku to modalias for better utilization. Signed-off-by: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com> Signed-off-by: Jean Delvare <jdelvare@suse.de>
1 parent 3650b22 commit e26f023

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/firmware/dmi-id.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ static ssize_t get_modalias(char *buffer, size_t buffer_size)
8585
{ "svn", DMI_SYS_VENDOR },
8686
{ "pn", DMI_PRODUCT_NAME },
8787
{ "pvr", DMI_PRODUCT_VERSION },
88+
{ "sku", DMI_PRODUCT_SKU },
8889
{ "rvn", DMI_BOARD_VENDOR },
8990
{ "rn", DMI_BOARD_NAME },
9091
{ "rvr", DMI_BOARD_VERSION },

0 commit comments

Comments
 (0)