]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dell-laptop: Terminate quirks list properly
authorMartin Nyhus <martin.nyhus@gmx.com>
Thu, 15 Mar 2012 17:25:48 +0000 (18:25 +0100)
committerMatthew Garrett <mjg@redhat.com>
Tue, 17 Apr 2012 13:31:08 +0000 (09:31 -0400)
Add missing DMI_NONE entry to end of the quirks list so
dmi_check_system() won't read past the end of the list.

Signed-off-by: Martin Nyhus <martin.nyhus@gmx.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/dell-laptop.c

index a05fc9c955d86212cc274b8f78296c994342e2b0..e6c08ee8d46c0acb5d1652b2627bc65b5f2d4922 100644 (file)
@@ -212,6 +212,7 @@ static struct dmi_system_id __devinitdata dell_quirks[] = {
                },
                .driver_data = &quirk_dell_vostro_v130,
        },
+       { }
 };
 
 static struct calling_interface_buffer *buffer;