Skip to content

Commit

Permalink
ipmi: add of_device_id in MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
Fix autoloading ipmi modules when using device tree.

Signed-off-by: Brijesh Singh <brijeshkumar.singh@amd.com>

Moved this change up into the CONFIG_OF section to account
for changes to the probing code.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
  • Loading branch information
Brijesh Singh authored and Corey Minyard committed Sep 3, 2015
1 parent d088289 commit acbd9ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2646,6 +2646,7 @@ static int of_ipmi_probe(struct platform_device *dev)
}
return 0;
}
MODULE_DEVICE_TABLE(of, of_ipmi_match);
#else
#define of_ipmi_match NULL
static int of_ipmi_probe(struct platform_device *dev)
Expand Down

0 comments on commit acbd9ae

Please sign in to comment.