summaryrefslogtreecommitdiffstats
path: root/drivers/video/mbx
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-05-15 15:02:57 -0600
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-06-09 12:51:11 +0000
commit6f32d03bc63ab27f5e21d40c4ec81e18d991f424 (patch)
tree012a4622b16c2c19c53e8855577eccd1818a24fc /drivers/video/mbx
parent5c888aa43ee9872efe2a09e8c9f03db84f60dd28 (diff)
downloadlinux-6f32d03bc63ab27f5e21d40c4ec81e18d991f424.tar.bz2
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>
Diffstat (limited to 'drivers/video/mbx')
-rw-r--r--drivers/video/mbx/mbxfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mbx/mbxfb.c b/drivers/video/mbx/mbxfb.c
index ab0a8e527333..85e4f44bfa61 100644
--- a/drivers/video/mbx/mbxfb.c
+++ b/drivers/video/mbx/mbxfb.c
@@ -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 = {