]> git.karo-electronics.de Git - karo-tx-linux.git/commit
video: s3c_fb.c: fix build with CONFIG_HOTPLUG=n
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 22 Sep 2009 23:47:55 +0000 (16:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:31:31 +0000 (09:31 -0700)
commitf9346c36575cc2a7e599ff17ec9b25cd338710b1
tree5a6c9e6b77a6e02a3ace04a5f04bfe3f8f507a7e
parent50eab02f21d12882d044dc8544b3a3fb670b3b3a
video: s3c_fb.c: fix build with CONFIG_HOTPLUG=n

commit 3163eaba34943967aebb1eefa0d4bdc4e5dc197c upstream.

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 <jacmet@sunsite.dk>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/video/s3c-fb.c