[ARM] S3C2410: mach-bast.c registering i2c data too early
authorBen Dooks <ben-linux@fluff.org>
Fri, 15 May 2009 13:57:09 +0000 (14:57 +0100)
committerBen Dooks <ben-linux@fluff.org>
Fri, 15 May 2009 14:13:25 +0000 (15:13 +0100)
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 <ben-linux@fluff.org>

No differences found