[PATCHv3 3/3] [media] vpif: Fix compilation with allmodconfig

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

[PATCHv3 3/3] [media] vpif: Fix compilation with allmodconfig

Mauro Carvalho Chehab-3
When vpif is compiled as module, those errors happen:

ERROR: "vpif_lock" [drivers/media/platform/davinci/vpif_display.ko] undefined!
ERROR: "vpif_lock" [drivers/media/platform/davinci/vpif_capture.ko] undefined!

That's because vpif_lock symbol is not exported.

Reported-by: Stephen Rothwell <[hidden email]>
Acked-by: Lad, Prabhakar <[hidden email]>
Signed-off-by: Mauro Carvalho Chehab <[hidden email]>

diff --git a/drivers/media/platform/davinci/vpif.c b/drivers/media/platform/davinci/vpif.c
index cd08e5248387..3dad5bd7fe0a 100644
--- a/drivers/media/platform/davinci/vpif.c
+++ b/drivers/media/platform/davinci/vpif.c
@@ -38,6 +38,7 @@ MODULE_LICENSE("GPL");
 #define VPIF_CH3_MAX_MODES 2
 spinlock_t vpif_lock;
 void __iomem *vpif_base;

Davinci-linux-open-source mailing list
[hidden email]