From: Krzysztof Hałasa Date: Sun, 2 Sep 2012 17:23:27 +0000 (+0200) Subject: IXP4xx: Fix off-by-one bug in Goramo MultiLink platform. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=87ba5c6a313b4da5639a18d7796e51483ededd17;p=linux-beck.git IXP4xx: Fix off-by-one bug in Goramo MultiLink platform. Signed-off-by: Krzysztof Hałasa --- diff --git a/arch/arm/mach-ixp4xx/goramo_mlr.c b/arch/arm/mach-ixp4xx/goramo_mlr.c index f417632bc991..53b8348dfcc2 100644 --- a/arch/arm/mach-ixp4xx/goramo_mlr.c +++ b/arch/arm/mach-ixp4xx/goramo_mlr.c @@ -330,7 +330,7 @@ static struct platform_device device_hss_tab[] = { }; -static struct platform_device *device_tab[6] __initdata = { +static struct platform_device *device_tab[7] __initdata = { &device_flash, /* index 0 */ };