power: supply: mm8013: Publish the OF module alias
Subsystems (2)
PATCH 1/1 power: supply: mm8013: Publish the OF module alias
The MM8013 driver matches mitsumi,mm8013 Device Tree clients, but exports only its legacy I2C ID table. The I2C core emits an OF modalias for these clients rather than i2c:mm8013.
Publish the existing OF match table without changing gauge operations.
Fixes c75f4bf6800b ("power: supply: Introduce MM8013 fuel gauge driver")
Signed-off-by hpp.iscas <[email protected]>
--- drivers/power/supply/mm8013.c | 1 + 1 file changed, 1 insertion(+)
drivers/power/supply/mm8013.c +1 -0
@@ -293,6 +293,7 @@ static const struct of_device_id mm8013_match_table[] = { { .compatible = "mitsumi,mm8013" }, {} }; +MODULE_DEVICE_TABLE (of, mm8013_match_table);static struct i2c_driver mm8013_i2c_driver = { .probe = mm8013_probe,
Sebastian Reichel
AppliedQuoted 8 lines · hpp.iscas
The MM8013 driver matches mitsumi,mm8013 Device Tree clients, but exports only its legacy I2C ID table. The I2C core emits an OF modalias for these clients rather than i2c:mm8013.
Publish the existing OF match table without changing gauge operations.
[...]
Applied, thanks!
[1/1] power: supply: mm8013: Publish the OF module alias
commit: 95450ccb3545c8ecbd61a41d4727ff8df86d3bd3
Best regards,
Signature · 1 line
Sebastian Reichel <[email protected]>