Skip to content

Commit

Permalink
ipmi: ipmi_ssif: fix module autoloading
Browse files Browse the repository at this point in the history
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from platform_device_id table.

Signed-off-by: Yuntao Liu <liuyuntao12@huawei.com>
Message-Id: <20240819113855.787149-10-liuyuntao12@huawei.com>
Signed-off-by: Corey Minyard <corey@minyard.net>
  • Loading branch information
Yuntao Liu authored and Corey Minyard committed Aug 21, 2024
1 parent 0108b7b commit 0e38f7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/ipmi/ipmi_ssif.c
Original file line number Diff line number Diff line change
Expand Up @@ -2085,6 +2085,7 @@ static const struct platform_device_id ssif_plat_ids[] = {
{ "dmi-ipmi-ssif", 0 },
{ }
};
MODULE_DEVICE_TABLE(platform, ssif_plat_ids);

static struct platform_driver ipmi_driver = {
.driver = {
Expand Down

0 comments on commit 0e38f7e

Please sign in to comment.