mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
tps65090-charger: 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: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
parent
0df2deeab4
commit
c72b7bf82c
@ -353,6 +353,7 @@ static const struct of_device_id of_tps65090_charger_match[] = {
|
||||
{ .compatible = "ti,tps65090-charger", },
|
||||
{ /* end */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, of_tps65090_charger_match);
|
||||
|
||||
static struct platform_driver tps65090_charger_driver = {
|
||||
.driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user