diff options
Diffstat (limited to 'arch/sparc/kernel/chmc.c')
-rw-r--r-- | arch/sparc/kernel/chmc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/sparc/kernel/chmc.c b/arch/sparc/kernel/chmc.c index 936879639eb6..870cb65b3f21 100644 --- a/arch/sparc/kernel/chmc.c +++ b/arch/sparc/kernel/chmc.c | |||
@@ -811,8 +811,11 @@ static const struct of_device_id us3mc_match[] = { | |||
811 | MODULE_DEVICE_TABLE(of, us3mc_match); | 811 | MODULE_DEVICE_TABLE(of, us3mc_match); |
812 | 812 | ||
813 | static struct of_platform_driver us3mc_driver = { | 813 | static struct of_platform_driver us3mc_driver = { |
814 | .name = "us3mc", | 814 | .driver = { |
815 | .match_table = us3mc_match, | 815 | .name = "us3mc", |
816 | .owner = THIS_MODULE, | ||
817 | .of_match_table = us3mc_match, | ||
818 | }, | ||
816 | .probe = us3mc_probe, | 819 | .probe = us3mc_probe, |
817 | .remove = __devexit_p(us3mc_remove), | 820 | .remove = __devexit_p(us3mc_remove), |
818 | }; | 821 | }; |