projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8141b6d
)
regulator: core: Fix modpost error "regulator_get_regmap" undefined
author
Biju Das
<biju.das.jz@bp.renesas.com>
Mon, 10 Jun 2024 19:55:32 +0000
(20:55 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 10 Jun 2024 21:52:02 +0000
(22:52 +0100)
Fix the modpost error "regulator_get_regmap" undefined by adding export
symbol.
Fixes:
04eca28cde52
("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>
drivers/regulator/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/core.c
b/drivers/regulator/core.c
index 5794f4e9dd529f6e9a09a14bdba5ed3aa7f9f002..844e9587a880fa433ffc84ac324c5a6ee82ae756 100644
(file)
--- a/
drivers/regulator/core.c
+++ b/
drivers/regulator/core.c
@@
-3347,6
+3347,7
@@
struct regmap *regulator_get_regmap(struct regulator *regulator)
return map ? map : ERR_PTR(-EOPNOTSUPP);
}
+EXPORT_SYMBOL_GPL(regulator_get_regmap);
/**
* regulator_get_hardware_vsel_register - get the HW voltage selector register