From: archit taneja Date: Tue, 14 Jun 2011 06:54:45 +0000 (-0300) Subject: [media] OMAP_VOUT: CLEANUP: Move generic functions and macros to common files X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a137ac870ba7df53e0c68cf2af2c79a71a2050c0;p=linux-beck.git [media] OMAP_VOUT: CLEANUP: Move generic functions and macros to common files Move the inline functions rotate_90_or_270(), rotation_enabled(), and calc_rotation() from omap_vout.c to omap_voutdef.h. Move the independent functions omap_vout_alloc_buffer() and omap_vout_free_buffer() to omap_voutlib.c. Remove extern identifier from function definitions in omap_voutlib.h Add static identifier to functions that are used locally in omap_vout.c Signed-off-by: Archit Taneja Signed-off-by: Vaibhav Hiremath Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index cb70ff139d8f..131aff634580 100644 --- a/drivers/media/video/omap/omap_vout.c +++ b/drivers/media/video/omap/omap_vout.c @@ -35,17 +35,14 @@ #include #include #include -#include #include #include -#include #include #include #include #include -#include #include #include