[#5525] drivers/video/bf537-lq035.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

[#5525] drivers/video/bf537-lq035.c build fails in 2.6.31 due to old i2c usage

Submitted By: Mike Frysinger

Open Date

2009-09-11 18:16:04     Close Date

2009-09-23 04:06:54

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

svn trunk 7304

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/video/bf537-lq035.c build fails in 2.6.31 due to old i2c usage

Details:

 

with a BF537-STAMP_defconfig:

 

drivers/video/bf537-lq035.c: In function ‘ad5280_probe’:

drivers/video/bf537-lq035.c:113: error: implicit declaration of function ‘i2c_attach_client’

drivers/video/bf537-lq035.c: In function ‘ad5280_attach’:

drivers/video/bf537-lq035.c:127: error: implicit declaration of function ‘i2c_probe’

drivers/video/bf537-lq035.c: In function ‘ad5280_detach_client’:

drivers/video/bf537-lq035.c:135: error: implicit declaration of function ‘i2c_detach_client’

drivers/video/bf537-lq035.c: At top level:

drivers/video/bf537-lq035.c:144: error: unknown field ‘detach_client’ specified in initializer

drivers/video/bf537-lq035.c:144: warning: initialization from incompatible pointer type

make[2]: *** [drivers/video/bf537-lq035.o] Error 1

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

make: *** [drivers] Error 2

 

Follow-ups

 

--- Michael Hennerich                                        2009-09-22 11:37:07

Fixed on trunk

-Michael

 

--- Vivi Li                                                  2009-09-23 04:06:54

It can build now.

So close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes