Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7bcb7eda authored by Ben Dooks's avatar Ben Dooks
Browse files

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: default avatarBen Dooks <ben-linux@fluff.org>
parent 372359ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment