Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231407
b: refs/heads/master
c: 6f5c11c
h: refs/heads/master
i:
  231405: ccb7522
  231403: 9bbb2b2
  231399: 0a40f3f
  231391: 75bb7f1
v: v3
  • Loading branch information
Jassi Brar authored and Kukjin Kim committed Dec 29, 2010
1 parent 509a0a2 commit af9ba97
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 906b9826b81d07701b96621a14d7cf255c6e1712
refs/heads/master: 6f5c11c5a5ec9aef67b433906c712608ef7b9b97
11 changes: 11 additions & 0 deletions trunk/arch/arm/mach-s5pv310/mach-smdkv310.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/platform_device.h>
#include <linux/smsc911x.h>
#include <linux/io.h>
#include <linux/i2c.h>

#include <asm/mach/arch.h>
#include <asm/mach-types.h>
Expand All @@ -23,6 +24,7 @@
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/sdhci.h>
#include <plat/iic.h>

#include <mach/map.h>
#include <mach/regs-srom.h>
Expand Down Expand Up @@ -139,7 +141,12 @@ static struct platform_device smdkv310_smsc911x = {
},
};

static struct i2c_board_info i2c_devs1[] __initdata = {
{I2C_BOARD_INFO("wm8994", 0x1a),},
};

static struct platform_device *smdkv310_devices[] __initdata = {
&s3c_device_i2c1,
&s3c_device_hsmmc0,
&s3c_device_hsmmc1,
&s3c_device_hsmmc2,
Expand All @@ -148,6 +155,7 @@ static struct platform_device *smdkv310_devices[] __initdata = {
&s3c_device_wdt,
&smdkv310_smsc911x,
&s5pv310_device_ac97,
&s5pv310_device_i2s0,
};

static void __init smdkv310_smsc911x_init(void)
Expand Down Expand Up @@ -183,6 +191,9 @@ static void __init smdkv310_map_io(void)

static void __init smdkv310_machine_init(void)
{
s3c_i2c1_set_platdata(NULL);
i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1));

smdkv310_smsc911x_init();

s3c_sdhci0_set_platdata(&smdkv310_hsmmc0_pdata);
Expand Down

0 comments on commit af9ba97

Please sign in to comment.