Staging: comedi: plx9080.h: properly mark iomem variables
It's a __iomem *, so mark it as such. Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
e3752a1dfd
commit
b74a967085
1 changed files with 2 additions and 2 deletions
|
@ -380,9 +380,9 @@ enum bigend_bits {
|
||||||
#define MBX_ADDR_SPACE_360 0x80 /* wanXL100s/200/400 */
|
#define MBX_ADDR_SPACE_360 0x80 /* wanXL100s/200/400 */
|
||||||
#define MBX_ADDR_MASK_360 (MBX_ADDR_SPACE_360-1)
|
#define MBX_ADDR_MASK_360 (MBX_ADDR_SPACE_360-1)
|
||||||
|
|
||||||
static inline int plx9080_abort_dma(void *iobase, unsigned int channel)
|
static inline int plx9080_abort_dma(void __iomem *iobase, unsigned int channel)
|
||||||
{
|
{
|
||||||
void *dma_cs_addr;
|
void __iomem *dma_cs_addr;
|
||||||
uint8_t dma_status;
|
uint8_t dma_status;
|
||||||
const int timeout = 10000;
|
const int timeout = 10000;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
Loading…
Add table
Reference in a new issue