video: s3c_fb.c: fix build with CONFIG_HOTPLUG=n
PATCH RESEND 1/1 video: s3c_fb.c: fix build with CONFIG_HOTPLUG=n
Fixes s3c_fb_remove' referenced in section .data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
With CONFIG_HOTPLUG=n, functions marked with __devexit gets removed, so make sure we use __devexit_p when referencing pointers to them.
Signed-off-by Peter Korsgaard <[email protected]>
Acked-by Ben Dooks <[email protected]>
--- drivers/video/s3c-fb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Seems like this never made it to mainline, even though Ben acked it back in June. Andrew, please push to Linus.
drivers/video/s3c-fb.c +1 -1
@@ -1036,7 +1036,7 @@ static int s3c_fb_resume(struct platform_device *pdev)static struct platform_driver s3c_fb_driver = { .probe = s3c_fb_probe, - .remove = s3c_fb_remove, + .remove =__devexit_p (s3c_fb_remove), .suspend = s3c_fb_suspend, .resume = s3c_fb_resume, .driver = {
Signature · 9 lines
1.6.3.3 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf