From: Peter Korsgaard Date: Tue, 22 Sep 2009 23:47:55 +0000 (-0700) Subject: video: s3c_fb.c: fix build with CONFIG_HOTPLUG=n X-Git-Tag: v2.6.32-rc1~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3163eaba34943967aebb1eefa0d4bdc4e5dc197c;p=pandora-kernel.git 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 Acked-by: Ben Dooks Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed