forked from Minki/linux
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>
This commit is contained in:
parent
5c888aa43e
commit
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",
|
||||
|
@ -1045,7 +1045,7 @@ static int __devexit mbxfb_remove(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver mbxfb_driver = {
|
||||
.probe = mbxfb_probe,
|
||||
.remove = mbxfb_remove,
|
||||
.remove = __devexit_p(mbxfb_remove),
|
||||
.suspend = mbxfb_suspend,
|
||||
.resume = mbxfb_resume,
|
||||
.driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user