]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:57 +0000 (07:39 -0700)
commit13b69ecbf962b03c1b42fab3cc1dac0f4ccc762d
treedf8c1affee6aed703d00075e6f4b9aabd45b05be
parent2e4f71188f8e7c7edc8de0ab84b02e01e7a0feab
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 <jacmet@sunsite.dk>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/s3c-fb.c