浏览代码

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>
Christoph Hellwig 10 年之前
父节点
当前提交
092b6dbe8a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/mmc/host/android-goldfish.c

+ 1 - 1
drivers/mmc/host/android-goldfish.c

@@ -118,7 +118,7 @@ struct goldfish_mmc_host {
 	struct mmc_host		*mmc;
 	struct mmc_host		*mmc;
 	struct device		*dev;
 	struct device		*dev;
 	unsigned char		id; /* 16xx chips have 2 MMC blocks */
 	unsigned char		id; /* 16xx chips have 2 MMC blocks */
-	void __iomem		*virt_base;
+	void			*virt_base;
 	unsigned int		phys_base;
 	unsigned int		phys_base;
 	int			irq;
 	int			irq;
 	unsigned char		bus_mode;
 	unsigned char		bus_mode;