diff options
Diffstat (limited to 'arch/sparc/kernel/pmc.c')
-rw-r--r-- | arch/sparc/kernel/pmc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/sparc/kernel/pmc.c b/arch/sparc/kernel/pmc.c index 5e4563d86f19..9589d8b9b0c1 100644 --- a/arch/sparc/kernel/pmc.c +++ b/arch/sparc/kernel/pmc.c | |||
@@ -79,8 +79,11 @@ static struct of_device_id __initdata pmc_match[] = { | |||
79 | MODULE_DEVICE_TABLE(of, pmc_match); | 79 | MODULE_DEVICE_TABLE(of, pmc_match); |
80 | 80 | ||
81 | static struct of_platform_driver pmc_driver = { | 81 | static struct of_platform_driver pmc_driver = { |
82 | .name = "pmc", | 82 | .driver = { |
83 | .match_table = pmc_match, | 83 | .name = "pmc", |
84 | .owner = THIS_MODULE, | ||
85 | .of_match_table = pmc_match, | ||
86 | }, | ||
84 | .probe = pmc_probe, | 87 | .probe = pmc_probe, |
85 | }; | 88 | }; |
86 | 89 | ||