ARC: fix build warning in devtree
authorVineet Gupta <vgupta@synopsys.com>
Mon, 23 Jun 2014 06:12:44 +0000 (11:42 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 23 Jun 2014 06:20:26 +0000 (11:50 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/devtree.c

index 0b3ef4025d8954cb828f940479df7af45dd0f89d..fffdb5e41b20886521fca6b51e55914ae3a37e0a 100644 (file)
@@ -41,7 +41,7 @@ const struct machine_desc * __init setup_machine_fdt(void *dt)
 {
        const struct machine_desc *mdesc;
        unsigned long dt_root;
-       void *clk;
+       const void *clk;
        int len;
 
        if (!early_init_dt_scan(dt))