Browse Source

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>
Martin Nyhus 13 years ago
parent
commit
d62d421b07
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/platform/x86/dell-laptop.c

+ 1 - 0
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;