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

mfd: sm501: 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
327cc18e 01bd09f0

+1
+1
drivers/mfd/sm501.c
··· 1719 1719 { .compatible = "smi,sm501", }, 1720 1720 { /* end */ } 1721 1721 }; 1722 + MODULE_DEVICE_TABLE(of, of_sm501_match_tbl); 1722 1723 1723 1724 static struct platform_driver sm501_plat_driver = { 1724 1725 .driver = {