kernel_optimize_test/drivers/net/caif
Arnd Bergmann 6e4a76291e 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>
2012-04-21 15:28:47 -04:00
..
caif_hsi.c caif-hsi: Postpone init of HSI until open() 2012-04-13 11:37:37 -04:00
caif_serial.c module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00
caif_shm_u5500.c
caif_shmcore.c caif: include linux/io.h 2012-04-21 15:28:47 -04:00
caif_spi_slave.c
caif_spi.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
Kconfig
Makefile