[PATCH -next 5/9] mpc85xx_edac: fix module autoloading
Arnd Bergmann
arnd at arndb.de
Mon Aug 19 04:57:19 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>
Acked-by: Arnd Bergmann <arnd at arndb.de>
> },
> {}
> };
> +MODULE_DEVICE_TABLE(platform, mpc85xx_pci_err_match);
>
I see that this device is created in arch/powerpc/sysdev/fsl_pci.c,
so your change makes sense here.
Arnd
More information about the linux-arm-kernel
mailing list