Re: [PATCH 1/3] Char: cyclades, remove bogus iomap

From: Andrew Morton
Date: Mon Aug 18 2008 - 17:45:31 EST


On Thu, 14 Aug 2008 18:25:52 +0200
Jiri Slaby <jirislaby@xxxxxxxxx> wrote:

> readl/writel are not expected to accept iomap return value. Replace
> bogus mapping by standard ioremap.

Confused. What's wrong with doing readl(pci_iomap(...))? There are a
fair number of drivers doing this..

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/