diff options
Diffstat (limited to 'drivers/macintosh/therm_windtunnel.c')
-rw-r--r-- | drivers/macintosh/therm_windtunnel.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c index 0839770e4ec5..5c9367acf0cf 100644 --- a/drivers/macintosh/therm_windtunnel.c +++ b/drivers/macintosh/therm_windtunnel.c | |||
@@ -463,8 +463,11 @@ static const struct of_device_id therm_of_match[] = {{ | |||
463 | }; | 463 | }; |
464 | 464 | ||
465 | static struct of_platform_driver therm_of_driver = { | 465 | static struct of_platform_driver therm_of_driver = { |
466 | .name = "temperature", | 466 | .driver = { |
467 | .match_table = therm_of_match, | 467 | .name = "temperature", |
468 | .owner = THIS_MODULE, | ||
469 | .of_match_table = therm_of_match, | ||
470 | }, | ||
468 | .probe = therm_of_probe, | 471 | .probe = therm_of_probe, |
469 | .remove = therm_of_remove, | 472 | .remove = therm_of_remove, |
470 | }; | 473 | }; |