summaryrefslogtreecommitdiffstats
path: root/drivers/video/broadsheetfb.c
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/broadsheetfb.c
parent5c888aa43ee9872efe2a09e8c9f03db84f60dd28 (diff)
downloadlinux-6f32d03bc63ab27f5e21d40c4ec81e18d991f424.tar.gz
linux-6f32d03bc63ab27f5e21d40c4ec81e18d991f424.tar.bz2
linux-6f32d03bc63ab27f5e21d40c4ec81e18d991f424.zip
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/broadsheetfb.c')
-rw-r--r--drivers/video/broadsheetfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/broadsheetfb.c b/drivers/video/broadsheetfb.c
index 377dde3d5bfc..c95b417d0d41 100644
--- a/drivers/video/broadsheetfb.c
+++ b/drivers/video/broadsheetfb.c
@@ -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",