From e7bd234a0daeff4c16ef80f1529aa1f9dd500697 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka <gniibe@fsij.org> Date: Thu, 30 Jun 2016 16:16:39 +0900 Subject: Update for MKL27Z --- contrib/adc-mkl27z.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/adc-mkl27z.c b/contrib/adc-mkl27z.c index d5b679e..35f3e0b 100644 --- a/contrib/adc-mkl27z.c +++ b/contrib/adc-mkl27z.c @@ -40,7 +40,7 @@ struct DMAMUX { volatile uint32_t CHCFG2; volatile uint32_t CHCFG3; }; -static struct DMAMUX *const DMAMUX = (struct DMAMUX *const)0x40021000; +static struct DMAMUX *const DMAMUX = (struct DMAMUX *)0x40021000; #define INTR_REQ_DMA0 0 @@ -50,8 +50,8 @@ struct DMA { volatile uint32_t DSR_BCR; volatile uint32_t DCR; }; -static struct DMA *const DMA0 = (struct DMA *const)0x40008100; -static struct DMA *const DMA1 = (struct DMA *const)0x40008110; +static struct DMA *const DMA0 = (struct DMA *)0x40008100; +static struct DMA *const DMA1 = (struct DMA *)0x40008110; /* We don't use ADC interrupt. Just for reference. */ @@ -92,7 +92,7 @@ struct ADC { volatile uint32_t CLM1; volatile uint32_t CLM0; }; -static struct ADC *const ADC0 = (struct ADC *const)0x4003B000; +static struct ADC *const ADC0 = (struct ADC *)0x4003B000; /* SC1 */ #define ADC_SC1_DIFF (1 << 5) -- cgit v1.2.3