aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@linaro.org>2011-12-15 15:12:57 +0800
committerAndy Green <andy.green@linaro.org>2011-12-26 22:33:30 +0800
commit903dae4c82c762dcf106ae7d58e3f09014c49428 (patch)
tree19d37a7550fd6d80d205cb3f3c59d4acaaabcf42 /arch
parent7a152d9b603a5a86cafcfb52c341eab2ad0a23fe (diff)
ARM: SAMSUNG: Fix i2c0 device id to match with devname
With clkdev, the devname for i2c0 has been fixed to s3c2440-i2c.0 This patch changes the device id to match with devname. Without this patch clk get fails for i2c0 if CONFIG_S3C_DEV_I2C1 is not defined. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-samsung/devs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
index 4ca8b571f97..c383c28f33b 100644
--- a/arch/arm/plat-samsung/devs.c
+++ b/arch/arm/plat-samsung/devs.c
@@ -446,11 +446,7 @@ static struct resource s3c_i2c0_resource[] = {
struct platform_device s3c_device_i2c0 = {
.name = "s3c2410-i2c",
-#ifdef CONFIG_S3C_DEV_I2C1
.id = 0,
-#else
- .id = -1,
-#endif
.num_resources = ARRAY_SIZE(s3c_i2c0_resource),
.resource = s3c_i2c0_resource,
};