From a2a29146a6d7327f8e159fedb6060b77cff46021 Mon Sep 17 00:00:00 2001
From: NIIBE Yutaka <gniibe@fsij.org>
Date: Thu, 30 Jun 2016 16:23:29 +0900
Subject: const pointer cleanup

---
 mcu/sys-stm32f0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'mcu/sys-stm32f0.c')

diff --git a/mcu/sys-stm32f0.c b/mcu/sys-stm32f0.c
index f811b97..f7db06c 100644
--- a/mcu/sys-stm32f0.c
+++ b/mcu/sys-stm32f0.c
@@ -323,7 +323,7 @@ struct SCB
 
 #define SCS_BASE	(0xE000E000)
 #define SCB_BASE	(SCS_BASE +  0x0D00)
-static struct SCB *const SCB = ((struct SCB *const) SCB_BASE);
+static struct SCB *const SCB = (struct SCB *)SCB_BASE;
 
 #define SYSRESETREQ 0x04
 static void
-- 
cgit v1.2.3