Re: [PATCH -next 5/9] mpc85xx_edac: fix module autoloading
From: Arnd Bergmann
Date: Mon Aug 19 2024 - 07:58:06 EST
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@xxxxxxxxxx>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
> },
> {}
> };
> +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