From: Ben Dooks Date: Wed, 23 Dec 2009 20:34:29 +0000 (+0000) Subject: ARM: S3C: Fix NAND device registration by s3c_nand_set_platdata(). X-Git-Tag: v2.6.33-rc3~6^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b542a13a94f310e718f2ed57b0f712b9ddbbbef;p=pandora-kernel.git ARM: S3C: Fix NAND device registration by s3c_nand_set_platdata(). Fix two bugs in s3c_nand_set_platdata() where thet device's platform data was not set, and the wrong error check was being performed on the return of s3c_nand_copy_set(). Fixes the following OOPS: Unable to handle kernel NULL pointer dereference at virtual address 00000004 PC is at s3c24xx_nand_probe+0x234/0x594 Signed-off-by: Ben Dooks --- Reading git-diff-tree failed