summaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung/devs.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2012-02-21 12:45:05 -0800
committerColin Cross <ccross@android.com>2012-02-21 12:45:05 -0800
commitfbd94b86e411e6ea0b4fa56682120b32af5c16c2 (patch)
tree59f59602de610bddfad66e294cb42ee1d1f29d31 /arch/arm/plat-samsung/devs.c
parent293f64abe6006f6ff1cc6f672e27729ff7b74ead (diff)
parentb01543dfe67bb1d191998e90d20534dc354de059 (diff)
Merge commit 'v3.3-rc4' into android-3.3
Conflicts: drivers/mmc/core/sdio.c drivers/staging/android/Kconfig drivers/staging/android/lowmemorykiller.c Change-Id: I39ef9b27bb9febaee811b200ccac0ed5d51147f3
Diffstat (limited to 'arch/arm/plat-samsung/devs.c')
-rw-r--r--arch/arm/plat-samsung/devs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
index 32a6e394db2..f10768e988d 100644
--- a/arch/arm/plat-samsung/devs.c
+++ b/arch/arm/plat-samsung/devs.c
@@ -468,8 +468,10 @@ void __init s3c_i2c0_set_platdata(struct s3c2410_platform_i2c *pd)
{
struct s3c2410_platform_i2c *npd;
- if (!pd)
+ if (!pd) {
pd = &default_i2c_data;
+ pd->bus_num = 0;
+ }
npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c),
&s3c_device_i2c0);