[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1298732614.2762.6.camel@phoenix>
Date: Sat, 26 Feb 2011 23:03:34 +0800
From: Axel Lin <axel.lin@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Durgadoss R <durgadoss.r@...el.com>,
Alan Cox <alan@...ux.intel.com>,
Matthew Garrett <mjg@...hat.com>,
platform-driver-x86@...r.kernel.org
Subject: [PATCH] platform-driver-x86: intel_mid_thermal: fix unterminated
platform_device_id table
The platform_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@...il.com>
---
drivers/platform/x86/intel_mid_thermal.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c
index 1215c30..6c12db5 100644
--- a/drivers/platform/x86/intel_mid_thermal.c
+++ b/drivers/platform/x86/intel_mid_thermal.c
@@ -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 = {
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists