summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Nyhus <martin.nyhus@gmx.com>2012-03-15 18:25:48 +0100
committerMatthew Garrett <mjg@redhat.com>2012-04-17 09:31:37 -0400
commitd62d421b071b08249361044d8e56c8b5c3ed6aa7 (patch)
tree2b41563b83c5136b7c157162797cfec0af94be3a
parentfc1a93bd9bad32581bca1e66fb7b3cabad9b3361 (diff)
downloadblackbird-op-linux-d62d421b071b08249361044d8e56c8b5c3ed6aa7.tar.gz
blackbird-op-linux-d62d421b071b08249361044d8e56c8b5c3ed6aa7.zip
dell-laptop: Terminate quirks list properly
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>
-rw-r--r--drivers/platform/x86/dell-laptop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index a05fc9c955d8..e6c08ee8d46c 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -212,6 +212,7 @@ static struct dmi_system_id __devinitdata dell_quirks[] = {
},
.driver_data = &quirk_dell_vostro_v130,
},
+ { }
};
static struct calling_interface_buffer *buffer;
OpenPOWER on IntegriCloud