From: Abdoulaye Walsimou Gaye Date: Sat, 16 Oct 2010 11:55:52 +0000 (+0200) Subject: ARM: S3C2440: fix boot failure introduced by recent changes in gpiolib X-Git-Tag: v2.6.37-rc1~28^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdf5005b738c1542a30b41a83069329313fc61f6;p=pandora-kernel.git ARM: S3C2440: fix boot failure introduced by recent changes in gpiolib Recent changes in s3c gpio break mini2440 board and may be others. The problem is that mach-mini2440.c: mini2440_init() (where we call s3c_gpio_setpull()) is called before s3c2440.c: s3c2440_init() (where we initialize s3c24xx_gpiocfg_default.set_pull function pointer). This causes dereferencing of NULL pointer at boot time and a kernel panic. Signed-off-by: Abdoulaye Walsimou Gaye Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Ben Dooks --- Reading git-diff-tree failed