* omap16xxcam module
@ 2008-05-20 18:31 Михаил
0 siblings, 0 replies; only message in thread
From: Михаил @ 2008-05-20 18:31 UTC (permalink / raw)
To: linux-omap
Hi, there. I work with OMAP5912 OSK. I've found some bugs in latest
(16/05/08) snapshot of git tree in omap16xxcam module. Here they are:
-------------------------omap16xxcam.c-------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////
In function: omap16xx_cam_link_open
line 176: OMAP_DMA_CLNK_CTRL_REG(data->dma_channel_number1) =
data->dma_channel_number2; - udefined. I've looked into dma.h, and I
think that OMAP_DMA_CLNK_CTRL_REG should be replaced with
OMAP1_DMA_CLNK_CTRL. But even after all it'll be an error line, the
error is:
drivers/media/video/omap/omap16xxcam.c:176: error: lvalue required as
left operand of assignment.
line 178: the same error.
//////////////////////////////////////////////////////////////////////////////////////////
In function: omap16xxcam_start_dma
line 342: s/OMAP_DMA_CLNK_CTRL_REG/OMAP1_DMA_CLNK_CTRL/g
line 352: s/OMAP_DMA_CCR_REG/OMAP1_DMA_CCR/g
//////////////////////////////////////////////////////////////////////////////////////////
Here "make" command log after all changes in source:
drivers/media/video/omap/omap16xxcam.c: In function ‘omap16xx_cam_link_open’
drivers/media/video/omap/omap16xxcam.c:177: error: lvalue required as
left operand of assignment
drivers/media/video/omap/omap16xxcam.c:179: error: lvalue required as
left operand of assignment
drivers/media/video/omap/omap16xxcam.c: In function ‘omap16xxcam_start_dma’
drivers/media/video/omap/omap16xxcam.c:342: error: lvalue required as
left operand of assignment
drivers/media/video/omap/omap16xxcam.c:352: error: lvalue required as
left operand of assignment
make[4]: *** [drivers/media/video/omap/omap16xxcam.o] Error 1
make[3]: *** [drivers/media/video/omap] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
-------------------------omap16xxcam.c-------------------------------------------
But even after all changes, if you'll comment error lines, just for a
test it will not successfully build. The error log will looks like this:
------------------------------cut-------------------------------------------
ERROR: "v4l2_int_ioctl_1" [drivers/media/video/omap/omapcamera.ko]
undefined!
ERROR: "v4l2_int_ioctl_0" [drivers/media/video/omap/omapcamera.ko]
undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
------------------------------cut-------------------------------------------
Any ideas ?
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-20 18:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-20 18:31 omap16xxcam module Михаил
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox