diff options
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_intf.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 2b44a0e1b988..47ffe4a90a95 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -2555,8 +2555,11 @@ static struct of_device_id ipmi_match[] = | |||
2555 | }; | 2555 | }; |
2556 | 2556 | ||
2557 | static struct of_platform_driver ipmi_of_platform_driver = { | 2557 | static struct of_platform_driver ipmi_of_platform_driver = { |
2558 | .name = "ipmi", | 2558 | .driver = { |
2559 | .match_table = ipmi_match, | 2559 | .name = "ipmi", |
2560 | .owner = THIS_MODULE, | ||
2561 | .of_match_table = ipmi_match, | ||
2562 | }, | ||
2560 | .probe = ipmi_of_probe, | 2563 | .probe = ipmi_of_probe, |
2561 | .remove = __devexit_p(ipmi_of_remove), | 2564 | .remove = __devexit_p(ipmi_of_remove), |
2562 | }; | 2565 | }; |