diff options
Diffstat (limited to 'arch/powerpc/sysdev/pmi.c')
-rw-r--r-- | arch/powerpc/sysdev/pmi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/pmi.c b/arch/powerpc/sysdev/pmi.c index 2f91b55b7754..20edd1e94eff 100644 --- a/arch/powerpc/sysdev/pmi.c +++ b/arch/powerpc/sysdev/pmi.c | |||
@@ -205,10 +205,12 @@ static int pmi_of_remove(struct of_device *dev) | |||
205 | } | 205 | } |
206 | 206 | ||
207 | static struct of_platform_driver pmi_of_platform_driver = { | 207 | static struct of_platform_driver pmi_of_platform_driver = { |
208 | .name = "pmi", | ||
209 | .match_table = pmi_match, | 208 | .match_table = pmi_match, |
210 | .probe = pmi_of_probe, | 209 | .probe = pmi_of_probe, |
211 | .remove = pmi_of_remove | 210 | .remove = pmi_of_remove, |
211 | .driver = { | ||
212 | .name = "pmi", | ||
213 | }, | ||
212 | }; | 214 | }; |
213 | 215 | ||
214 | static int __init pmi_module_init(void) | 216 | static int __init pmi_module_init(void) |