FAQ: [#6106] adp5588-gpio sometimes fails as a module(2010)

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

[#6106] adp5588-gpio sometimes fails as a module

Submitted By: Mike Frysinger

Open Date

2010-07-11 14:15:09     Close Date

2010-08-30 08:01:24

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

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: adp5588-gpio sometimes fails as a module

Details:

 

with the attached .config created via randconfig, the build fails:

ERROR: "set_irq_noprobe" [drivers/gpio/adp5588-gpio.ko] undefined!

ERROR: "set_irq_chip_and_handler" [drivers/gpio/adp5588-gpio.ko] undefined!

ERROR: "irq_to_desc" [drivers/gpio/adp5588-gpio.ko] undefined!

make[1]: *** [__modpost] Error 1

 

Follow-ups

 

--- Michael Hennerich                                        2010-07-12 05:13:49

These errors are caused by the generic kernel irq core not exporting them.

Two options:

Change the generic code to export them - or prevent the driver being build as a

module.

 

 

 

--- Michael Hennerich                                        2010-08-03 07:59:47

Do it like others: Exclude irq_chip functionality in case driver is built as

module.

http://lkml.org/lkml/2010/7/15/117

 

Fixed on trunk

 

--- Michael Hennerich                                        2010-08-30 08:01:24

close it

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

randconfig-8.config    application/octet-stream    51209    Mike Frysinger

Attachments

Outcomes