Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f32d03b authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Florian Tobias Schandinat
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
parent 5c888aa4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1211,7 +1211,7 @@ static int __devexit broadsheetfb_remove(struct platform_device *dev)


static struct platform_driver broadsheetfb_driver = {
static struct platform_driver broadsheetfb_driver = {
	.probe	= broadsheetfb_probe,
	.probe	= broadsheetfb_probe,
	.remove = broadsheetfb_remove,
	.remove = __devexit_p(broadsheetfb_remove),
	.driver	= {
	.driver	= {
		.owner	= THIS_MODULE,
		.owner	= THIS_MODULE,
		.name	= "broadsheetfb",
		.name	= "broadsheetfb",
+1 −1
Original line number Original line Diff line number Diff line
@@ -1045,7 +1045,7 @@ static int __devexit mbxfb_remove(struct platform_device *dev)


static struct platform_driver mbxfb_driver = {
static struct platform_driver mbxfb_driver = {
	.probe = mbxfb_probe,
	.probe = mbxfb_probe,
	.remove = mbxfb_remove,
	.remove = __devexit_p(mbxfb_remove),
	.suspend = mbxfb_suspend,
	.suspend = mbxfb_suspend,
	.resume = mbxfb_resume,
	.resume = mbxfb_resume,
	.driver = {
	.driver = {