diff options
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r-- | drivers/macintosh/smu.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 888448cf7f1f..ef1f3330a10e 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -671,8 +671,11 @@ static const struct of_device_id smu_platform_match[] = | |||
671 | 671 | ||
672 | static struct of_platform_driver smu_of_platform_driver = | 672 | static struct of_platform_driver smu_of_platform_driver = |
673 | { | 673 | { |
674 | .name = "smu", | 674 | .driver = { |
675 | .match_table = smu_platform_match, | 675 | .name = "smu", |
676 | .owner = THIS_MODULE, | ||
677 | .of_match_table = smu_platform_match, | ||
678 | }, | ||
676 | .probe = smu_platform_probe, | 679 | .probe = smu_platform_probe, |
677 | }; | 680 | }; |
678 | 681 | ||