Commit c72b7bf8 authored by Luis de Bethencourt's avatar Luis de Bethencourt Committed by Sebastian Reichel

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: default avatarLuis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 0df2deea
...@@ -353,6 +353,7 @@ static const struct of_device_id of_tps65090_charger_match[] = { ...@@ -353,6 +353,7 @@ static const struct of_device_id of_tps65090_charger_match[] = {
{ .compatible = "ti,tps65090-charger", }, { .compatible = "ti,tps65090-charger", },
{ /* end */ } { /* end */ }
}; };
MODULE_DEVICE_TABLE(of, of_tps65090_charger_match);
static struct platform_driver tps65090_charger_driver = { static struct platform_driver tps65090_charger_driver = {
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment