regulator: add missing 'static inline' to a helper's stub
PATCH 1/1 regulator: add missing 'static inline' to a helper's stub
From: Bartosz Golaszewski <[email protected]>
The build fails when CONFIG_REGULATOR is not selected because the stub for regulator_bulk_set_supply_names() is missing the 'static inline' attribute.
--- include/linux/regulator/consumer.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
include/linux/regulator/consumer.h +4 -3
@@ -586,9 +586,10 @@ static inline int regulator_list_voltage(struct regulator *regulator, unsigned sreturn -EINVAL ; } -void regulator_bulk_set_supply_names (struct regulator_bulk_data *consumers, -const char *const *supply_names, -unsigned int num_supplies) +static inline void +regulator_bulk_set_supply_names (struct regulator_bulk_data *consumers, +const char *const *supply_names, +unsigned int num_supplies) { }
Signature · 1 line
2.21.0
Mark Brown
maintainerApplied "regulator: add missing 'static inline' to a helper's stub" to the regulator tree
The patch
regulator: add missing 'static inline' to a helper's stub
has been applied to the regulator tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
From d072cb263f9e0ce3f8f6089c17e3466885971fa8 Mon Sep 17 00:00:00 2001
From: Bartosz Golaszewski <[email protected]>
Date: Mon, 2 Sep 2019 17:13:32 +0200
Subject: [PATCH] regulator: add missing 'static inline' to a helper's stub
The build fails when CONFIG_REGULATOR is not selected because the stub for regulator_bulk_set_supply_names() is missing the 'static inline' attribute.
--- include/linux/regulator/consumer.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
include/linux/regulator/consumer.h +4 -3
@@ -586,9 +586,10 @@ static inline int regulator_list_voltage(struct regulator *regulator, unsigned sreturn -EINVAL ; } -void regulator_bulk_set_supply_names (struct regulator_bulk_data *consumers, -const char *const *supply_names, -unsigned int num_supplies) +static inline void +regulator_bulk_set_supply_names (struct regulator_bulk_data *consumers, +const char *const *supply_names, +unsigned int num_supplies) { }
Signature · 1 line
2.20.1