Re: [PATCH -next 5/9] mpc85xx_edac: fix module autoloading

From
Arnd Bergmann <arnd@arndb.de>
Date
2024-08-19 11:57:50
Also in
dmaengine, linux-edac, linux-i2c, linux-usb, lkml
Reply to
Yuntao Liu, 2024-08-19
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
Thread (21 messages) 21 messages, 2 authors, last reply 2024-08-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help