diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-02-26 16:03:34 +0100 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-03-28 12:07:26 +0200 |
commit | 47ae4352bece7b617a084770495b993fcd1a2be5 (patch) | |
tree | fa486bb1b526e11a1c1c486dde1e5db6fb630b5b /drivers/platform | |
parent | sony-laptop: potential null dereference (diff) | |
download | linux-47ae4352bece7b617a084770495b993fcd1a2be5.tar.xz linux-47ae4352bece7b617a084770495b993fcd1a2be5.zip |
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@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | 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 1215c3096868..6c12db503161 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 = { |