Skip to contentSkip to conversation

platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table

PATCH Applied Axel Lin 3 participants 3 messages Feb 26, 2011 – Mar 11, 2011 x86 platform drivers

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table

The platform_device_id table is supposed to be zero-terminated.

---
 drivers/platform/x86/intel_mid_thermal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/platform/x86/intel_mid_thermal.c +1 -0
index 1215c30..6c12db5 100644
@@ -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 = {
Signature · 1 line
1.7.1