Commit dee763a4 authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman

pinctrl: cherryview: Add terminate entry for dmi_system_id tables

commit a9de080b upstream.

Make sure dmi_system_id tables are NULL terminated.

Fixes: 70365027 ("pinctrl: cherryview: Add a quirk to make Acer
Chromebook keyboard work again")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9970dd7
...@@ -1542,7 +1542,8 @@ static const struct dmi_system_id chv_no_valid_mask[] = { ...@@ -1542,7 +1542,8 @@ static const struct dmi_system_id chv_no_valid_mask[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Edgar"), DMI_MATCH(DMI_PRODUCT_NAME, "Edgar"),
DMI_MATCH(DMI_BIOS_DATE, "05/21/2016"), DMI_MATCH(DMI_BIOS_DATE, "05/21/2016"),
}, },
} },
{}
}; };
static int chv_gpio_probe(struct chv_pinctrl *pctrl, int irq) static int chv_gpio_probe(struct chv_pinctrl *pctrl, int irq)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment