[media] davinci: vpif: Fix module build for capture and display
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Wed, 20 Mar 2013 04:28:27 +0000 (01:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 23 Mar 2013 13:38:10 +0000 (10:38 -0300)
commitced9b21ff626b6e6a23c06520ecb943f8d6ffa01
treebb7df8ff6fc5999d616626ab5fe58973bf273e87
parent1c3fc152b8ebadd59814767e3189c961b73f20c8
[media] davinci: vpif: Fix module build for capture and display

export the symbols which are used by two modules vpif_capture and
vpif_display. renamed "ch_params" to "vpif_ch_params" so as to avoid
name collision.
This patch fixes following error:
ERROR: "ch_params" [drivers/media/platform/davinci/vpif_display.ko] undefined!
ERROR: "vpif_ch_params_count" [drivers/media/platform/davinci/vpif_display.ko] undefined!
ERROR: "vpif_base" [drivers/media/platform/davinci/vpif_display.ko] undefined!
ERROR: "ch_params" [drivers/media/platform/davinci/vpif_capture.ko] undefined!
ERROR: "vpif_ch_params_count" [drivers/media/platform/davinci/vpif_capture.ko] undefined!
ERROR: "vpif_base" [drivers/media/platform/davinci/vpif_capture.ko] undefined!
make[1]: *** [__modpost] Error 1

Reported-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpif.c
drivers/media/platform/davinci/vpif.h
drivers/media/platform/davinci/vpif_capture.c
drivers/media/platform/davinci/vpif_display.c