FAQ: [#7072] Kernel compile error if CONFIG_MMC=y and CONFIG_GPIOLIB=n(2012)

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

[#7072] Kernel compile error if CONFIG_MMC=y and CONFIG_GPIOLIB=n

Submitted By: Mike Sinkovsky

Open Date

2012-04-26 06:20:08    

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Open     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Make Errors     Board:

Custom

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

2012R1

App binary format:

N/A     

Summary: Kernel compile error if CONFIG_MMC=y and CONFIG_GPIOLIB=n

Details:

 

In trunk kernel, if CONFIG_MMC=y and CONFIG_GPIOLIB=n, I have comilation error:

 

===

  CC      drivers/mmc/core/cd-gpio.o

drivers/mmc/core/cd-gpio.c: In function ‘mmc_cd_gpio_request’:

drivers/mmc/core/cd-gpio.c:43: error: implicit declaration of function ‘gpio_request_one’

===

 

Follow-ups

 

--- Sonic Zhang                                              2012-04-27 07:28:03

Fixed.

 

--- Mike Sinkovsky                                           2012-04-27 09:05:13

Tested, thanks.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes