]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/sbc8560: fix compile warning on CPM pin array
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 3 Sep 2008 20:02:25 +0000 (16:02 -0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 16 Sep 2008 15:01:52 +0000 (10:01 -0500)
This is just a parallel of a5dc66e2ab2e2cf641346b056a69a67cfcf9458c
applied to the sbc8560 board.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/sbc8560.c

index 6509ade71668e658729ddb6266217c6ccd8538fe..e0cf0602d8b7191dc47587e5f155822d572cf782 100644 (file)
@@ -156,7 +156,7 @@ static void __init init_ioports(void)
        int i;
 
        for (i = 0; i < ARRAY_SIZE(sbc8560_pins); i++) {
-               struct cpm_pin *pin = &sbc8560_pins[i];
+               const struct cpm_pin *pin = &sbc8560_pins[i];
                cpm2_set_pin(pin->port, pin->pin, pin->flags);
        }