diff options
author | Behan Webster <behanw@converseincode.com> | 2014-09-27 05:10:53 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-09-30 14:11:53 +0400 |
commit | c8b8888f097c7df260cf5beaf2e3a325660a16a4 (patch) | |
tree | 34be71427db78e6f2cd8a111170665ac728b8684 /drivers/video/fbdev/leo.c | |
parent | 032e57f01b7524ad9aec39788b38f523583ab58e (diff) | |
download | linux-c8b8888f097c7df260cf5beaf2e3a325660a16a4.tar.xz |
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 <behanw@converseincode.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/leo.c')
0 files changed, 0 insertions, 0 deletions