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

Commit b57287ba authored by Axel Lin's avatar Axel Lin Committed by Florian Tobias Schandinat
Browse files

video: platinumfb: Add __devexit_p at necessary place



According to the comments in include/linux/init.h:

"Pointers to __devexit functions must use __devexit_p(function_name), the
wrapper will insert either the function_name or NULL, depending on the config
options."

We have __devexit annotation for platinumfb_remove(), thus add __devexit_p at
necessary place.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
parent ef26b794
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -683,7 +683,7 @@ static struct platform_driver platinum_driver =
		.of_match_table = platinumfb_match,
		.of_match_table = platinumfb_match,
	},
	},
	.probe		= platinumfb_probe,
	.probe		= platinumfb_probe,
	.remove		= platinumfb_remove,
	.remove		= __devexit_p(platinumfb_remove),
};
};


static int __init platinumfb_init(void)
static int __init platinumfb_init(void)