Commit b86b30f8 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] Jaguar ATX: Fix large number of warnings.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 3d0f82ae
...@@ -46,7 +46,9 @@ ...@@ -46,7 +46,9 @@
extern unsigned long ja_fpga_base; extern unsigned long ja_fpga_base;
#define JAGUAR_FPGA_WRITE(x,y) writeb(x, ja_fpga_base + JAGUAR_ATX_REG_##y) #define __FPGA_REG_TO_ADDR(reg) \
#define JAGUAR_FPGA_READ(x) readb(ja_fpga_base + JAGUAR_ATX_REG_##x) ((void *) ja_fpga_base + JAGUAR_ATX_REG_##reg)
#define JAGUAR_FPGA_WRITE(x, reg) writeb(x, __FPGA_REG_TO_ADDR(reg))
#define JAGUAR_FPGA_READ(reg) readb(__FPGA_REG_TO_ADDR(reg))
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment