From: Hans de Goede Date: Sun, 18 Aug 2019 11:04:51 +0000 (+0200) Subject: platform/x86: touchscreen_dmi: Add info for the Trekstor Primebook C11B 2-in-1 X-Git-Tag: v5.4-rc1~166^2~19 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=37d960a4d753605ca248baea577eaaa96f5dccf0;p=linux.git platform/x86: touchscreen_dmi: Add info for the Trekstor Primebook C11B 2-in-1 Add touchscreen info for the Trekstor Primebook C11B 2-in-1, note the C11B used the same touchscreen as the regular C11, so we only add a new DMI match. Cc: Thomas Hiller Reported-and-tested-by: Thomas Hiller Signed-off-by: Hans de Goede Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c index 0ccd7990454c..1c7d8324ff5c 100644 --- a/drivers/platform/x86/touchscreen_dmi.c +++ b/drivers/platform/x86/touchscreen_dmi.c @@ -933,6 +933,14 @@ static const struct dmi_system_id touchscreen_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Primebook C11"), }, }, + { + /* Trekstor Primebook C11B (same touchscreen as the C11) */ + .driver_data = (void *)&trekstor_primebook_c11_data, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "TREKSTOR"), + DMI_MATCH(DMI_PRODUCT_NAME, "PRIMEBOOK C11B"), + }, + }, { /* Trekstor Primebook C13 */ .driver_data = (void *)&trekstor_primebook_c13_data,