From: Ben Dooks Date: Fri, 15 May 2009 13:57:09 +0000 (+0100) Subject: [ARM] S3C2410: mach-bast.c registering i2c data too early X-Git-Tag: v2.6.30-rc7~16^2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8af6de00fafed316fea8f39d87c7e8e19ec1ea0;p=pandora-kernel.git [ARM] S3C2410: mach-bast.c registering i2c data too early The BAST support code is calling s3c_i2c0_set_platdata() from the map_io() entry, instead of the bast_init() code. This causes the registration to fail due to kmalloc() not being available at the time. This fixes the following error: s3c_i2c0_set_platdata: no memory for platform data Signed-off-by: Ben Dooks --- Reading git-diff-tree failed