diff options
author | Yuntao Liu <liuyuntao12@huawei.com> | 2024-08-19 13:38:55 +0200 |
---|---|---|
committer | Corey Minyard <corey@minyard.net> | 2024-08-21 02:11:34 +0200 |
commit | 0e38f7ecb55c86c0bdb45ed817bac5a49cdeac04 (patch) | |
tree | f8740c716c6d247764c1ab0ddb1d8876811ff37f /drivers/char | |
parent | Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-0e38f7ecb55c86c0bdb45ed817bac5a49cdeac04.tar.xz linux-0e38f7ecb55c86c0bdb45ed817bac5a49cdeac04.zip |
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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/ipmi/ipmi_ssif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index 96ad571d041a..e8e7b832c060 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c @@ -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 = { |