Commit e2885a51 authored by Russell King's avatar Russell King

[MMC] Fix mmci.c build problem.

parent f2e5c096
...@@ -173,7 +173,7 @@ static inline char *mmci_kmap_atomic(struct mmci_host *host, unsigned long *flag ...@@ -173,7 +173,7 @@ static inline char *mmci_kmap_atomic(struct mmci_host *host, unsigned long *flag
struct scatterlist *sg = host->sg_ptr; struct scatterlist *sg = host->sg_ptr;
local_irq_save(*flags); local_irq_save(*flags);
return kmap_atomic(sg->page, KM_BIO_SRC_IRQ) + sg->sg_off; return kmap_atomic(sg->page, KM_BIO_SRC_IRQ) + sg->offset;
} }
static inline void mmci_kunmap_atomic(struct mmci_host *host, unsigned long *flags) static inline void mmci_kunmap_atomic(struct mmci_host *host, unsigned long *flags)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment