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

spi: meson: Fix module autoload for OF platform driver

This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Luis de Bethencourt and committed by
Mark Brown
c9e97b3c 6ff33f39

+1
+1
drivers/spi/spi-meson-spifc.c
··· 444 444 { .compatible = "amlogic,meson6-spifc", }, 445 445 { }, 446 446 }; 447 + MODULE_DEVICE_TABLE(of, meson_spifc_dt_match); 447 448 448 449 static struct platform_driver meson_spifc_driver = { 449 450 .probe = meson_spifc_probe,