summaryrefslogtreecommitdiff
path: root/drivers/dma/xilinx/xdma-regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/xilinx/xdma-regs.h')
-rw-r--r--drivers/dma/xilinx/xdma-regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/xilinx/xdma-regs.h b/drivers/dma/xilinx/xdma-regs.h
index 6ad08878e938..70bca92621aa 100644
--- a/drivers/dma/xilinx/xdma-regs.h
+++ b/drivers/dma/xilinx/xdma-regs.h
@@ -9,6 +9,7 @@
/* The length of register space exposed to host */
#define XDMA_REG_SPACE_LEN 65536
+#define XDMA_MAX_REG_OFFSET (XDMA_REG_SPACE_LEN - 4)
/*
* maximum number of DMA channels for each direction: