]> git.karo-electronics.de Git - karo-tx-linux.git/commit
video: platinumfb: Add __devexit_p at necessary place
authorAxel Lin <axel.lin@gmail.com>
Wed, 5 Oct 2011 08:01:38 +0000 (16:01 +0800)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 15 Oct 2011 00:19:58 +0000 (00:19 +0000)
commitb57287ba497b63a0d87a058631bbddfed9392e9f
treea702c64470ebe850b5a70c484d9a0be77f88c785
parentef26b7943c5821aaff1efc14c098840c49fe15c0
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: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/platinumfb.c