]> Zhao Yanbai Git Server - minix.git/commitdiff
arm:misc fix remove const modifier for value that changes. 41/841/2
authorKees Jongenburger <kees.jongenburger@gmail.com>
Wed, 25 Sep 2013 08:34:04 +0000 (10:34 +0200)
committerGerrit Code Review <gerrit@gerrit>
Thu, 26 Sep 2013 07:06:24 +0000 (09:06 +0200)
Change-Id: I4ac96acdc66ea203a339108225c07c68959556c0

kernel/arch/earm/memory.c

index 9ff7acab69962be3a35a6c2c9f6195bf7511422b..6a9334d5c672c14d3da247ae5c094cb04ef79626 100644 (file)
@@ -234,7 +234,7 @@ static int lin_lin_copy(struct proc *srcproc, vir_bytes srclinaddr,
 
 static u32_t phys_get32(phys_bytes addr)
 {
-       const u32_t v;
+       u32_t v;
        int r;
 
        if((r=lin_lin_copy(NULL, addr,