regulator: Fix for v6.9
One simple regualtor fix, fixing module autoloading on tps65132. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmYQeKUACgkQJNaLcl1U h9C4Ugf9HQY9kn/0NBJRZxXlUmbhA02ydx9e74c/FyBT06ke7L8QukbBSahAENbz RFMbKrUFtc7mXj58YvOo68oRXOc9U8TIiapx/EAMQ5UtS5Buw+aeNscSOdZFSaDm 0l5/YeG7Uf5xS8XsfZlE1ExTpWAMBiFOOhLk/3TACxdL3aNYc4Xn4OcLlX8AM4Ti Lxi6sNfPniJLa1y40CIKOvVEVWBMNwiQu7nAMYiSZFdlf/TCqfrODfvvZNCc/JL4 Enyu9SilJUrmOekdP6nnuR9SeR0E3ACaa25TD3xT+Oyk1ApLNdDzhywkw16/k9xK zGeZPeGWmia79hhiuVm3Gg82qOI/pg== =Vdtw -----END PGP SIGNATURE----- Merge tag 'regulator-fix-v6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator Pull regulator fix from Mark Brown: "One simple regualtor fix, fixing module autoloading on tps65132" * tag 'regulator-fix-v6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: tps65132: Add of_match table
This commit is contained in:
commit
20668408ab
@ -267,10 +267,17 @@ static const struct i2c_device_id tps65132_id[] = {
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tps65132_id);
|
||||
|
||||
static const struct of_device_id __maybe_unused tps65132_of_match[] = {
|
||||
{ .compatible = "ti,tps65132" },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, tps65132_of_match);
|
||||
|
||||
static struct i2c_driver tps65132_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "tps65132",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = of_match_ptr(tps65132_of_match),
|
||||
},
|
||||
.probe = tps65132_probe,
|
||||
.id_table = tps65132_id,
|
||||
|
Loading…
Reference in New Issue
Block a user