public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table
@ 2011-02-26 15:03 Axel Lin
  2011-03-01 11:24 ` Alan Cox
  2011-03-11 17:32 ` Matthew Garrett
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2011-02-26 15:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: Durgadoss R, Alan Cox, Matthew Garrett, platform-driver-x86

The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@gmail.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




^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-11 17:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26 15:03 [PATCH] platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table Axel Lin
2011-03-01 11:24 ` Alan Cox
2011-03-11 17:32 ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox