]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 14 Mar 2018 10:41:28 +0000 (11:41 +0100)
BugLink: http://bugs.launchpad.net/bugs/1744212
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>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/platform/x86/peaq-wmi.c

index 39a828c38dacc305abcf5b22313b2ed65a1dde78..684e9593547ac0284b0a038e72568546c23e5dae 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)