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

regulator: anatop: 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
d702ffd4 6ff33f39

+1
+1
drivers/regulator/anatop-regulator.c
··· 318 318 { .compatible = "fsl,anatop-regulator", }, 319 319 { /* end */ } 320 320 }; 321 + MODULE_DEVICE_TABLE(of, of_anatop_regulator_match_tbl); 321 322 322 323 static struct platform_driver anatop_regulator_driver = { 323 324 .driver = {