Skip to content

Commit

Permalink
[ARM] SMDK6410: Add i2c device
Browse files Browse the repository at this point in the history
Add i2c bus 0 to the configuration

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks committed Dec 15, 2008
1 parent 55132b8 commit d85fa24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-s3c6410/mach-smdk6410.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <asm/mach-types.h>

#include <plat/regs-serial.h>
#include <plat/iic.h>

#include <plat/s3c6410.h>
#include <plat/clock.h>
Expand Down Expand Up @@ -63,6 +64,7 @@ struct map_desc smdk6410_iodesc[] = {};

static struct platform_device *smdk6410_devices[] __initdata = {
&s3c_device_hsmmc0,
&s3c_device_i2c0,
};

extern void s3c64xx_init_io(struct map_desc *, int);
Expand All @@ -76,6 +78,7 @@ static void __init smdk6410_map_io(void)

static void __init smdk6410_machine_init(void)
{
s3c_i2c0_set_platdata(NULL);
platform_add_devices(smdk6410_devices, ARRAY_SIZE(smdk6410_devices));
}

Expand Down

0 comments on commit d85fa24

Please sign in to comment.