[PATCH -next 9/9] ipmi: ipmi_ssif: fix module autoloading

Arnd Bergmann arnd at arndb.de
Mon Aug 19 05:03:01 PDT 2024


On Mon, Aug 19, 2024, at 13:38, Yuntao Liu wrote:
> 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 at huawei.com>
> ---

The driver already has a MODULE_ALIAS() with the same string.

I think the MODULE_DEVICE_TABLE() entry is slightly cleaner here,
but it should only have one of the two, not both.

     Arnd



More information about the linux-arm-kernel mailing list