Commit 7c9fa9ff authored by Russell King's avatar Russell King

[ARM] Fix sparse warnings in ARM IDE drivers.

Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
parent 2e1946e6
...@@ -713,7 +713,7 @@ static int __devinit ...@@ -713,7 +713,7 @@ static int __devinit
icside_probe(struct expansion_card *ec, const struct ecard_id *id) icside_probe(struct expansion_card *ec, const struct ecard_id *id)
{ {
struct icside_state *state; struct icside_state *state;
void *idmem; void __iomem *idmem;
int ret; int ret;
ret = ecard_request_resources(ec); ret = ecard_request_resources(ec);
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* Something like this really should be in generic code, but isn't. * Something like this really should be in generic code, but isn't.
*/ */
static ide_hwif_t * static ide_hwif_t *
rapide_locate_hwif(void __iomem *base, void *ctrl, unsigned int sz, int irq) rapide_locate_hwif(void __iomem *base, void __iomem *ctrl, unsigned int sz, int irq)
{ {
unsigned long port = (unsigned long)base; unsigned long port = (unsigned long)base;
ide_hwif_t *hwif; ide_hwif_t *hwif;
......
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