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

mfd: hi6421-pmic: 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: Lee Jones <lee.jones@linaro.org>

authored by

Luis de Bethencourt and committed by
Lee Jones
54450736 a0aef1f5

+1
+1
drivers/mfd/hi6421-pmic-core.c
··· 97 97 { .compatible = "hisilicon,hi6421-pmic", }, 98 98 { }, 99 99 }; 100 + MODULE_DEVICE_TABLE(of, of_hi6421_pmic_match_tbl); 100 101 101 102 static struct platform_driver hi6421_pmic_driver = { 102 103 .driver = {