]> Pileus Git - ~andy/linux/commit
DMA: shdma: switch all __iomem pointers to void
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 2 Jul 2013 15:46:01 +0000 (17:46 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sun, 25 Aug 2013 06:24:35 +0000 (11:54 +0530)
commit115357e9774ff8d70a84d3c31f271209913637b0
tree5e294c58ac1fd42db8e380ef6229bd490699d2ad
parenta28a94e84bca8ba7db66bcc0db1bea51840b08b2
DMA: shdma: switch all __iomem pointers to void

In the shdma driver __iomem pointers are used to point to hardware
registers.  Using typed pointers like "u32 __iomem *" in this case is
inconvenient, because then offsets, added to such pointers, have to be
devided by sizeof(u32) or similar. Switch the driver to use void
pointers, which avoids this clumsiness.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/shdma.c
drivers/dma/sh/shdma.h