]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table
authorAxel Lin <axel.lin@gmail.com>
Sat, 26 Feb 2011 15:03:34 +0000 (23:03 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:07:26 +0000 (06:07 -0400)
The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_mid_thermal.c

index 1215c30968682fa8685479d55d40d6bf61db346d..6c12db503161b9d5c34cceee2d19cee9e80fa291 100644 (file)
@@ -543,6 +543,7 @@ static int mid_thermal_remove(struct platform_device *pdev)
 
 static const struct platform_device_id therm_id_table[] = {
        { DRIVER_NAME, 1 },
+       { }
 };
 
 static struct platform_driver mid_thermal_driver = {