diff options
author | Eli Billauer <eli.billauer@gmail.com> | 2014-07-05 12:45:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 12:20:37 -0700 |
commit | 539889ee491a9d7633c340a6edb311c693e1cbf7 (patch) | |
tree | bfac5ad035d2725d9af38ac7ae835124bcbf7787 /drivers/staging/xillybus/xillybus.h | |
parent | 049c1fb4fc2a45a51b51bf9abb24cd5fd1b3fcf3 (diff) |
staging: xillybus: Register's address offset notation update
In iowrite32() calls, the address of registers was expressed as e.g.
&ep->registers[fpga_msg_ctrl_reg]. This changes to the more common format
e.g. ep->registers + fpga_msg_ctrl_reg.
There is no functional change.
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xillybus/xillybus.h')
-rw-r--r-- | drivers/staging/xillybus/xillybus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/xillybus/xillybus.h b/drivers/staging/xillybus/xillybus.h index ae58a3eeb293..a0806b5ee2cb 100644 --- a/drivers/staging/xillybus/xillybus.h +++ b/drivers/staging/xillybus/xillybus.h @@ -99,7 +99,7 @@ struct xilly_endpoint { struct list_head ep_list; int dma_using_dac; /* =1 if 64-bit DMA is used, =0 otherwise. */ - __iomem u32 *registers; + __iomem void *registers; int fatal_error; struct mutex register_mutex; |