ARM: N30: Use s3c_i2c0_set_platdata() to set I2C platform data
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 Sep 2009 15:29:48 +0000 (16:29 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 1 Dec 2009 01:34:17 +0000 (01:34 +0000)
commit7bcb7eda99f1091055d547aee1a1d8e65b59c592
treec045521f5a16aa60022e1c95806b1a507578f27e
parent372359eca4569f9321c820d6e5259e19eb4e63ad
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 <ben-linux@fluff.org>
arch/arm/mach-s3c2410/mach-n30.c