[#4331] spi-sd-mmc driver fails with linux-2.6.26 due to block layer updates

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

[#4331] spi-sd-mmc driver fails with linux-2.6.26 due to block layer updates

Submitted By: Mike Frysinger

Open Date

2008-08-08 18:47:32     Close Date

2008-08-15 09:44:55

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: spi-sd-mmc driver fails with linux-2.6.26 due to block layer updates

Details:

 

the block layer went through some updates that the spi-sd-mmc driver missed.  as such, it fails to build.

 

upstream info can be found here:

  git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=log;h=3bcddeac1c4c7e6fb90531b80f236b1a05dfe514

 

build failure:

drivers/mmc/spi_mmc/spi_mmc_core.c: In function "spi_mmc_process_request":

drivers/mmc/spi_mmc/spi_mmc_core.c:368: error: implicit declaration of function "end_that_request_first"

drivers/mmc/spi_mmc/spi_mmc_core.c:371: error: implicit declaration of function "end_that_request_last"

make[2]: *** [drivers/mmc/spi_mmc/spi_mmc_core.o] Error 1

make[1]: *** [drivers/mmc/spi_mmc] Error 2

make: *** [drivers] Error 2

 

Follow-ups

 

--- Bryan Wu                                                 2008-08-14 07:27:30

Fixed in the trunk.

 

Use __blk_end_request to replace end_that_request_first/last functions

 

-Bryan

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes