---
 arch/arm/mach-sun7i/pm/standby/mem_printk.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-sun7i/pm/standby/mem_printk.c 
b/arch/arm/mach-sun7i/pm/standby/mem_printk.c
index 357d7d5..840e61a 100644
--- a/arch/arm/mach-sun7i/pm/standby/mem_printk.c
+++ b/arch/arm/mach-sun7i/pm/standby/mem_printk.c
@@ -165,7 +165,7 @@ char *itoa(int value, char *string, int radix)
        int  negative = 0;                      //defualt is positive value
        int  i;
        int  j;
-       char digit_string[] = "0123456789ABCDEF";       
+       const char *digit_string = "0123456789ABCDEF";  
        
        if(value == 0)
        {
@@ -211,7 +211,7 @@ char *utoa(unsigned int value, char *string, int radix)
        char stack[16];
        int  i;
        int  j;
-       char digit_string[] = "0123456789ABCDEF";       
+       const char *digit_string = "0123456789ABCDEF";  
        
        if(value == 0)
        {
@@ -366,7 +366,7 @@ __s32 print_align(char *string, __s32 len, __s32 align)
 {
        //fill with space ' ' when align request,
        //the max align length is 16 byte.
-       char fill_ch[] = "                ";
+       const char *fill_ch = "                ";
        if (len < align)
        {
                //fill at right
-- 
1.7.10.4

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to