[#5524] drivers/video/bfin_adv7393fb.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

[#5524] drivers/video/bfin_adv7393fb.c build fails in 2.6.31 due to old i2c usage

Submitted By: Mike Frysinger

Open Date

2009-09-11 18:14:52     Close Date

2009-09-23 04:06:51

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

Details:

 

on a BF533-STAMP_defconfig:

 

drivers/video/bfin_adv7393fb.c: In function ‘adv7393_detect_client’:

drivers/video/bfin_adv7393fb.c:384: error: implicit declaration of function ‘i2c_attach_client’

drivers/video/bfin_adv7393fb.c: In function ‘adv7393_attach_adapter’:

drivers/video/bfin_adv7393fb.c:408: error: implicit declaration of function ‘i2c_probe’

drivers/video/bfin_adv7393fb.c: In function ‘adv7393_detach_client’:

drivers/video/bfin_adv7393fb.c:415: error: implicit declaration of function ‘i2c_detach_client’

drivers/video/bfin_adv7393fb.c: At top level:

drivers/video/bfin_adv7393fb.c:434: error: unknown field ‘detach_client’ specified in initializer

drivers/video/bfin_adv7393fb.c:434: warning: initialization from incompatible pointer type

make[2]: *** [drivers/video/bfin_adv7393fb.o] Error 1

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

make: *** [drivers] Error 2

 

Follow-ups

 

--- Michael Hennerich                                        2009-09-22 08:45:36

Fixed on trunk:

 

Convert to new style I2C client binding.

Remove some global usage

Use dev_pm_ops

Some cleanup

 

-Michael

 

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

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