diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-04-20 10:56:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-21 15:28:47 -0400 |
commit | 6e4a76291ebd5c61dcaa8281cefe0bd2d883c1fd (patch) | |
tree | b0628ffa8ade84bc0d82efe47536a161c44af697 /drivers/net/wimax | |
parent | 65f6092517466fa18ad77743d39723787e8fa051 (diff) |
caif: include linux/io.h
The caif_shmcore requires io.h in order to use ioremap, so include that
explicitly to compile in all configurations.
Also add a note about the use of ioremap(), which is not a proper way
to map a DMA buffer into kernel space. It's not completely clear what
the intention is for using ioremap, but it is clear that the result
of ioremap must not simply be accessed using kernel pointers but
should use readl/writel or memcopy_{to,from}io. Assigning the result
of ioremap to a regular pointer that can also be set to something
else is not ok.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wimax')
0 files changed, 0 insertions, 0 deletions