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>
This commit is contained in:
Axel Lin 2012-05-23 09:08:08 +08:00 коммит произвёл Mark Brown
Родитель c71c8fd4da
Коммит 0c09d31509
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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)