ipmi: ipmi_ssif: fix module autoloading
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>
This commit is contained in:
parent
0108b7be2a
commit
0e38f7ecb5
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user