Commit 47ae4352 authored by Axel Lin's avatar Axel Lin Committed by Matthew Garrett

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 200140bd
...@@ -543,6 +543,7 @@ static int mid_thermal_remove(struct platform_device *pdev) ...@@ -543,6 +543,7 @@ static int mid_thermal_remove(struct platform_device *pdev)
static const struct platform_device_id therm_id_table[] = { static const struct platform_device_id therm_id_table[] = {
{ DRIVER_NAME, 1 }, { DRIVER_NAME, 1 },
{ }
}; };
static struct platform_driver mid_thermal_driver = { static struct platform_driver mid_thermal_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment