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 <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>
quoted hunk ↗ jump to hunk
},
{}
};
+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