[media] OMAP_VOUT: CLEANUP: Move generic functions and macros to common files
authorarchit taneja <archit@ti.com>
Tue, 14 Jun 2011 06:54:45 +0000 (03:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:56:05 +0000 (17:56 -0300)
commita137ac870ba7df53e0c68cf2af2c79a71a2050c0
tree6a5eb70143928deaaa4aa0a7fa4137e4a19ad4f8
parente213e438ce2a7451572f1c00ed87893ca25d3ea9
[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 <archit@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap/omap_vout.c
drivers/media/video/omap/omap_voutdef.h
drivers/media/video/omap/omap_voutlib.c
drivers/media/video/omap/omap_voutlib.h