Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: android-goldfish: remove incorrect __iomem annotation

Make sparse happy:

drivers/mmc/host/android-goldfish.c:535:56: sparse: incorrect type in
argument 3 (different address spaces)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Christoph Hellwig and committed by
Ulf Hansson
092b6dbe 71f8a4b8

+1 -1
+1 -1
drivers/mmc/host/android-goldfish.c
··· 118 118 struct mmc_host *mmc; 119 119 struct device *dev; 120 120 unsigned char id; /* 16xx chips have 2 MMC blocks */ 121 - void __iomem *virt_base; 121 + void *virt_base; 122 122 unsigned int phys_base; 123 123 int irq; 124 124 unsigned char bus_mode;