From: Ben Dooks Date: Mon, 28 Sep 2009 15:29:48 +0000 (+0100) Subject: ARM: N30: Use s3c_i2c0_set_platdata() to set I2C platform data X-Git-Tag: v2.6.33-rc1~340^2~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bcb7eda99f1091055d547aee1a1d8e65b59c592;p=pandora-kernel.git ARM: N30: Use s3c_i2c0_set_platdata() to set I2C platform data Fix mach-n30.c to use the s3c_i2c0_set_platdata() call to register the platform data with the system to get rid of any reliance on having a real device structure available in memory. Since s3c_i2c0_set_platdata() copies the data, mark the original as __initdata so it is thrown away. Signed-off-by: Ben Dooks --- Reading git-diff-tree failed