diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-05-23 05:08:08 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-04 13:42:49 +0400 |
commit | 0c09d3150902d8ca7e763d508ac1a93701b21321 (patch) | |
tree | aeed4236f67ae10f6ebcb77f3ba85a27305c3494 /drivers/regulator/anatop-regulator.c | |
parent | c71c8fd4daa342ba714090586a55fc5db7eaa275 (diff) | |
download | linux-0c09d3150902d8ca7e763d508ac1a93701b21321.tar.xz |
regulator: anatop: Use correct __devexit_p annotation
__devexit functions are discarded when CONFIG_HOTPLUG
is not set, so the symbol needs to be referenced carefully.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/anatop-regulator.c')
-rw-r--r-- | drivers/regulator/anatop-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c index 3660bace123c..e82e7eaac0f1 100644 --- a/drivers/regulator/anatop-regulator.c +++ b/drivers/regulator/anatop-regulator.c @@ -224,7 +224,7 @@ static struct platform_driver anatop_regulator_driver = { .of_match_table = of_anatop_regulator_match_tbl, }, .probe = anatop_regulator_probe, - .remove = anatop_regulator_remove, + .remove = __devexit_p(anatop_regulator_remove), }; static int __init anatop_regulator_init(void) |