regulator: core: Fix modpost error "regulator_get_regmap" undefined

[ Upstream commit 3f60497c658d2072714d097a177612d34b34aa3d ]

Fix the modpost error "regulator_get_regmap" undefined by adding export
symbol.

Fixes: 04eca28cde ("regulator: Add helpers for low-level register access")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406110117.mk5UR3VZ-lkp@intel.com
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20240610195532.175942-1-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Biju Das 2024-06-10 20:55:32 +01:00 коммит произвёл Greg Kroah-Hartman
Родитель 9a314d3e57
Коммит 1cfcb0cf25
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -3297,6 +3297,7 @@ struct regmap *regulator_get_regmap(struct regulator *regulator)
return map ? map : ERR_PTR(-EOPNOTSUPP); return map ? map : ERR_PTR(-EOPNOTSUPP);
} }
EXPORT_SYMBOL_GPL(regulator_get_regmap);
/** /**
* regulator_get_hardware_vsel_register - get the HW voltage selector register * regulator_get_hardware_vsel_register - get the HW voltage selector register