From: Behan Webster Date: Sat, 27 Sep 2014 01:10:52 +0000 (-0700) Subject: arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss X-Git-Tag: fixes-against-v3.18-rc2~41^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=032e57f01b7524ad9aec39788b38f523583ab58e;p=pandora-kernel.git arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss 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