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>
This commit is contained in:
committed by
Matthew Garrett
parent
200140bdb5
commit
47ae4352be
@@ -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 = {
|
||||||
|
Reference in New Issue
Block a user