Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

edac: mpc85xx: fix coldplug/hotplug module autoloading

The MPC85xx EDAC driver is missing module device aliases, so the driver
won't load automatically on boot. This patch fixes the issue by adding
proper MODULE_DEVICE_TABLE() macros.

Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Cc: Doug Thompson <dougthompson@xmission.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Dave Jiang <djiang@mvista.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Anton Vorontsov and committed by
Linus Torvalds
952e1c66 2884fce1

+3
+3
drivers/edac/mpc85xx_edac.c
··· 336 336 }, 337 337 {}, 338 338 }; 339 + MODULE_DEVICE_TABLE(of, mpc85xx_pci_err_of_match); 339 340 340 341 static struct of_platform_driver mpc85xx_pci_err_driver = { 341 342 .probe = mpc85xx_pci_err_probe, ··· 651 650 { .compatible = "fsl,p2020-l2-cache-controller", }, 652 651 {}, 653 652 }; 653 + MODULE_DEVICE_TABLE(of, mpc85xx_l2_err_of_match); 654 654 655 655 static struct of_platform_driver mpc85xx_l2_err_driver = { 656 656 .probe = mpc85xx_l2_err_probe, ··· 1128 1126 { .compatible = "fsl,p2020-memory-controller", }, 1129 1127 {}, 1130 1128 }; 1129 + MODULE_DEVICE_TABLE(of, mpc85xx_mc_err_of_match); 1131 1130 1132 1131 static struct of_platform_driver mpc85xx_mc_err_driver = { 1133 1132 .probe = mpc85xx_mc_err_probe,