[#4579] Blackfin camera driver fails in current trunk

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4579] Blackfin camera driver fails in current trunk

Submitted By: Mike Frysinger

Open Date

2008-10-30 11:25:53     Close Date

2008-11-01 02:43:22

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: Blackfin camera driver fails in current trunk

Details:

 

not sure whether we want to fix it or just convert to the new common sensor framework

 

drivers/media/video/blackfin/blackfin_cam.c: In function 'default_palette':

drivers/media/video/blackfin/blackfin_cam.c:131: error: 'VIDEO_PALETTE_GREY' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:131: error: (Each undeclared identifier is reported only once

drivers/media/video/blackfin/blackfin_cam.c:131: error: for each function it appears in.)

drivers/media/video/blackfin/blackfin_cam.c:133: error: 'VIDEO_PALETTE_RGB565' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:135: error: 'VIDEO_PALETTE_YUV422' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:137: error: 'VIDEO_PALETTE_UYVY' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c: In function 'get_depth':

drivers/media/video/blackfin/blackfin_cam.c:150: error: 'VIDEO_PALETTE_GREY' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:152: error: 'VIDEO_PALETTE_YUV420' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:154: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:156: error: 'VIDEO_PALETTE_YUV422' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:158: error: 'VIDEO_PALETTE_RGB565' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:160: error: 'VIDEO_PALETTE_UYVY' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:162: error: 'VIDEO_PALETTE_YUYV' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c: In function 'v4l_ioctl':

drivers/media/video/blackfin/blackfin_cam.c:796: error: 'VIDIOCGCAP' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:801: error: invalid application of 'sizeof' to incomplete type 'struct video_capability'

drivers/media/video/blackfin/blackfin_cam.c:802: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:802: error: 'VID_TYPE_CAPTURE' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:802: error: 'VID_TYPE_MONOCHROME' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:805: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:808: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:811: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:814: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:817: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:820: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:823: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:825: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:827: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:828: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:829: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:830: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:831: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:833: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:834: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:839: error: 'VIDIOCGCHAN' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:843: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:846: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:847: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:848: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:848: error: 'VIDEO_TYPE_CAMERA' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:849: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:853: error: 'VIDIOCSCHAN' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:858: error: 'VIDIOCGTUNER' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:863: error: 'VIDIOCSTUNER' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:867: error: 'VIDIOCGPICT' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:870: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:871: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:875: error: 'VIDIOCSPICT' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:878: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:880: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:884: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:885: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:893: error: 'VIDIOCCAPTURE' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:899: error: 'VIDIOCGWIN' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:902: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:903: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:904: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:908: error: 'VIDIOCSWIN' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:911: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:916: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:916: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:919: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:920: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:925: error: 'VIDIOCGFBUF' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:930: error: 'VIDIOCSFBUF' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:935: error: 'VIDIOCKEY' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:940: error: 'VIDIOCGFREQ' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:945: error: 'VIDIOCSFREQ' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:950: error: 'VIDIOCGAUDIO' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:955: error: 'VIDIOCSAUDIO' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:961: error: 'VIDIOCGMBUF' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:969: error: invalid application of 'sizeof' to incomplete type 'struct video_mbuf'

drivers/media/video/blackfin/blackfin_cam.c:974: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:975: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:976: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:977: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:987: error: 'VIDIOCMCAPTURE' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1004: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:1010: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:1015: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:1016: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:1017: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:1017: error: dereferencing pointer to incomplete type

drivers/media/video/blackfin/blackfin_cam.c:1057: error: 'VIDIOCSYNC' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1126: error: 'VIDIOCGUNIT' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1131: error: 'VIDIOCGCAPTURE' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1136: error: 'VIDIOCSCAPTURE' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1141: error: 'VIDIOCSPLAYMODE' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1146: error: 'VIDIOCSWRITEMODE' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1151: error: 'VIDIOCGPLAYINFO' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1155: error: 'VIDIOCSMICROCODE' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1159: error: 'VIDIOCGVBIFMT' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1163: error: 'VIDIOCSVBIFMT' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:1167: error: 'VIDIOSFPS' undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c: In function 'bcap_ioctl':

drivers/media/video/blackfin/blackfin_cam.c:1329: error: implicit declaration of function 'video_usercopy'

drivers/media/video/blackfin/blackfin_cam.c: At top level:

drivers/media/video/blackfin/blackfin_cam.c:1381: error: unknown field 'owner' specified in initializer

drivers/media/video/blackfin/blackfin_cam.c:1381: warning: initialization from incompatible pointer type

drivers/media/video/blackfin/blackfin_cam.c:1383: error: unknown field 'type' specified in initializer

drivers/media/video/blackfin/blackfin_cam.c:1383: error: 'VID_TYPE_CAPTURE' undeclared here (not in a function)

drivers/media/video/blackfin/blackfin_cam.c:1383: error: 'VID_TYPE_MONOCHROME' undeclared here (not in a function)

drivers/media/video/blackfin/blackfin_cam.c:1384: error: unknown field 'type2' specified in initializer

make[4]: *** [drivers/media/video/blackfin/blackfin_cam.o] Error 1

make[3]: *** [drivers/media/video/blackfin] Error 2

make[2]: *** [drivers/media/video] Error 2

make[1]: *** [drivers/media] Error 2

make: *** [drivers] Error 2

 

Follow-ups

 

--- Michael Hennerich                                        2008-10-30 12:59:23

Assign to me.

-Michael

 

--- Michael Hennerich                                        2008-10-31 05:07:14

Fixed

-Michael

 

--- Mike Frysinger                                           2008-11-01 03:43:25

builds for me now

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes