pinctrl: cherryview: Add terminate entry for dmi_system_id tables
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 25 Apr 2017 06:22:05 +0000 (06:22 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 May 2017 08:39:10 +0000 (10:39 +0200)
Make sure dmi_system_id tables are NULL terminated.

Fixes: 703650278372 ("pinctrl: cherryview: Add a quirk to make Acer
Chromebook keyboard work again")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-cherryview.c

index 2debba62fac90d956ce37cd09805c518ee4a8da5..e35d0fe4c73775a68d763a2986010b83e9320441 100644 (file)
@@ -1547,7 +1547,8 @@ static const struct dmi_system_id chv_no_valid_mask[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Edgar"),
                        DMI_MATCH(DMI_BIOS_DATE, "05/21/2016"),
                },
-       }
+       },
+       {}
 };
 
 static int chv_gpio_probe(struct chv_pinctrl *pctrl, int irq)