Skip to content

Commit

Permalink
platform-driver-x86: intel_mid_thermal: fix unterminated platform_dev…
Browse files Browse the repository at this point in the history
…ice_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>
  • Loading branch information
AxelLin authored and Matthew Garrett committed Mar 28, 2011
1 parent 200140b commit 47ae435
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/platform/x86/intel_mid_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 47ae435

Please sign in to comment.