[#5527] drivers/media/video/blackfin/blackfin_cam.c build fails in 2.6.31 due to old i2c usage

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

[#5527] drivers/media/video/blackfin/blackfin_cam.c build fails in 2.6.31 due to old i2c usage

Submitted By: Mike Frysinger

Open Date

2009-09-11 19:22:11     Close Date

2009-10-13 03:54:15

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

trunk 7305

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

trunk

App binary format:

N/A     

Summary: drivers/media/video/blackfin/blackfin_cam.c build fails in 2.6.31 due to old i2c usage

Details:

 

drivers/media/video/blackfin/blackfin_cam.c: In function ‘sensor_detect_client’:

drivers/media/video/blackfin/blackfin_cam.c:459: error: implicit declaration of function ‘i2c_attach_client’

drivers/media/video/blackfin/blackfin_cam.c: In function ‘sensor_attach_adapter’:

drivers/media/video/blackfin/blackfin_cam.c:492: error: implicit declaration of function ‘i2c_probe’

drivers/media/video/blackfin/blackfin_cam.c: In function ‘sensor_detach_client’:

drivers/media/video/blackfin/blackfin_cam.c:504: error: implicit declaration of function ‘i2c_detach_client’

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

drivers/media/video/blackfin/blackfin_cam.c:521: error: unknown field ‘detach_client’ specified in initializer

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

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

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

 

Follow-ups

 

--- Michael Hennerich                                        2009-09-30 10:56:57

Fixed on trunk

-Michael

 

--- Vivi Li                                                  2009-10-13 03:54:15

It can build now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes