aboutsummaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq806x/include/iomap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/ipq806x/include/iomap.h')
-rw-r--r--src/soc/qualcomm/ipq806x/include/iomap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/qualcomm/ipq806x/include/iomap.h b/src/soc/qualcomm/ipq806x/include/iomap.h
index 8642410616..8a4155ce6b 100644
--- a/src/soc/qualcomm/ipq806x/include/iomap.h
+++ b/src/soc/qualcomm/ipq806x/include/iomap.h
@@ -52,7 +52,7 @@
#define MSM_GPT_BASE (MSM_TMR_BASE + 0x04)
#define MSM_DGT_BASE (MSM_TMR_BASE + 0x24)
-#define GPT_REG(off) (((uint8_t *)(MSM_GPT_BASE)) + (off))
+#define GPT_REG(off) ((void *)(MSM_GPT_BASE + (off)))
#define DGT_REG(off) (MSM_DGT_BASE + (off))
#define APCS_WDT0_EN (MSM_TMR_BASE + 0x0040)