platform/x86: peaq_wmi: Fix missing terminating entry for peaq_dmi_table
authorHans de Goede <hdegoede@redhat.com>
Mon, 30 Oct 2017 13:07:37 +0000 (14:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Nov 2017 08:49:23 +0000 (09:49 +0100)
commit d6fa71f1c003fb2bc824276bb424a4171f9a717f upstream.

Add missing terminating entry to peaq_dmi_table.

Fixes: 3b95206110a2 ("platform/x86: peaq-wmi: Add DMI check before ...")
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/peaq-wmi.c

index 67fa3fa32011de9c8ec5607f194b1a4750b6a274..2da48ecc90c12200aaf5409335c0b382ebefe1b9 100644 (file)
@@ -73,6 +73,7 @@ static const struct dmi_system_id peaq_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "PEAQ PMM C1010 MD99187"),
                },
        },
+       {}
 };
 
 static int __init peaq_wmi_init(void)