Skip to content

Commit

Permalink
video: metronomefb: add __devexit_p around reference to metronomefb_r…
Browse files Browse the repository at this point in the history
…emove

metronomefb_remove is marked __devexit,
thus add __devexit_p around reference to metronomefb_remove.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
axel lin authored and Paul Mundt committed Mar 22, 2011
1 parent 79ac33e commit 1e93f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/metronomefb.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ static int __devexit metronomefb_remove(struct platform_device *dev)

static struct platform_driver metronomefb_driver = {
.probe = metronomefb_probe,
.remove = metronomefb_remove,
.remove = __devexit_p(metronomefb_remove),
.driver = {
.owner = THIS_MODULE,
.name = "metronomefb",
Expand Down

0 comments on commit 1e93f39

Please sign in to comment.