projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/platform/x86/intel_mid_thermal.c
b/drivers/platform/x86/intel_mid_thermal.c
index 1215c30968682fa8685479d55d40d6bf61db346d..6c12db503161b9d5c34cceee2d19cee9e80fa291 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 = {