From: Behan Webster Date: Sat, 27 Sep 2014 01:10:53 +0000 (-0700) Subject: arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfb X-Git-Tag: fixes-against-v3.18-rc2~41^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8b8888f097c7df260cf5beaf2e3a325660a16a4;p=pandora-kernel.git arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfb Replace the use of nested functions where a normal function will suffice. Nested functions are not liked by upstream kernel developers in general. Their use breaks the use of clang as a compiler, and doesn't make the code any better. This code now works for both gcc and clang. Signed-off-by: Behan Webster Suggested-by: Arnd Bergmann Cc: Arnd Bergmann Reviewed-by: Felipe Balbi Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed