mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 14:48:06 +00:00
regulator: core: Fix exported symbols to the exported GPL version
Change the exported symbols introduced by commite915331149
("regulator: vctrl-regulator: Avoid deadlock getting and setting the voltage") from EXPORT_SYMBOL() to EXPORT_SYMBOL_GPL(), like is used for all the core parts. Fixes:e915331149
("regulator: vctrl-regulator: Avoid deadlock getting and setting the voltage") Reported-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20200120123921.1204339-1-enric.balletbo@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
e915331149
commit
3d7610e8da
1 changed files with 2 additions and 2 deletions
|
@ -3466,7 +3466,7 @@ int regulator_set_voltage_rdev(struct regulator_dev *rdev, int min_uV,
|
||||||
out:
|
out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(regulator_set_voltage_rdev);
|
EXPORT_SYMBOL_GPL(regulator_set_voltage_rdev);
|
||||||
|
|
||||||
static int regulator_limit_voltage_step(struct regulator_dev *rdev,
|
static int regulator_limit_voltage_step(struct regulator_dev *rdev,
|
||||||
int *current_uV, int *min_uV)
|
int *current_uV, int *min_uV)
|
||||||
|
@ -4031,7 +4031,7 @@ int regulator_get_voltage_rdev(struct regulator_dev *rdev)
|
||||||
return ret;
|
return ret;
|
||||||
return ret - rdev->constraints->uV_offset;
|
return ret - rdev->constraints->uV_offset;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(regulator_get_voltage_rdev);
|
EXPORT_SYMBOL_GPL(regulator_get_voltage_rdev);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* regulator_get_voltage - get regulator output voltage
|
* regulator_get_voltage - get regulator output voltage
|
||||||
|
|
Loading…
Add table
Reference in a new issue