mmc/android-goldfish: remove incorrect __iomem annotation
PATCH 1/1 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 <[email protected]>
--- drivers/mmc/host/android-goldfish.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/android-goldfish.c +1 -1
@@ -118,7 +118,7 @@ struct goldfish_mmc_host {struct mmc_host *mmc;struct device *dev;unsigned char id;/* 16xx chips have 2 MMC blocks */ -void __iomem *virt_base; +void *virt_base;unsigned int phys_base;int irq;unsigned char bus_mode;
Signature · 1 line
1.9.1
Ulf Hansson
Applied+linux-mmc
-Chris (don't maintain mmc no more)
Quoted 5 lines · Christoph Hellwig
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 <[email protected]>
Normally I like you to post mmc patces to the linux-mmc list. As this is a trivial patch and the driver don't have a dedicated maintainer, I am going to pick it up anyway.
Thanks, applied for next!
Kind regards
Uffe
Quoted 20 lines
--- drivers/mmc/host/android-goldfish.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/android-goldfish.c +1
-2@@ -118,7 +118,7 @@ struct goldfish_mmc_host {struct mmc_host *mmc;struct device *dev;unsigned char id;/* 16xx chips have 2 MMC blocks */ -void __iomem *virt_base; +void *virt_base;unsigned int phys_base;int irq;unsigned char bus_mode; --1.9.1