projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
200140b
)
platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table
author
Axel Lin
<axel.lin@gmail.com>
Sat, 26 Feb 2011 15:03:34 +0000
(23:03 +0800)
committer
Matthew 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
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/intel_mid_thermal.c
b/drivers/platform/x86/intel_mid_thermal.c
index
1215c30
..
6c12db5
100644
(file)
--- 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 = {