commit | a8af6de00fafed316fea8f39d87c7e8e19ec1ea0 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Fri May 15 14:57:09 2009 +0100 |
committer | Ben Dooks <ben-linux@fluff.org> | Fri May 15 15:13:25 2009 +0100 |
tree | d1738703ce9f04c1141fb0f6f5b176a259529ffe | |
parent | 871fcd7cf791b853ae044f813db94caefbf66725 [diff] |
[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 <ben-linux@fluff.org>