drivers/video: 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: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Este cometimento está contido em:

cometido por
Florian Tobias Schandinat

ascendente
5c888aa43e
cometimento
6f32d03bc6
@@ -1211,7 +1211,7 @@ static int __devexit broadsheetfb_remove(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver broadsheetfb_driver = {
|
||||
.probe = broadsheetfb_probe,
|
||||
.remove = broadsheetfb_remove,
|
||||
.remove = __devexit_p(broadsheetfb_remove),
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "broadsheetfb",
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador