diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-05-03 03:44:35 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-09 22:44:45 -0400 |
commit | e12ef7f02ed56af4f84a5743fa268901c52729bf (patch) | |
tree | ff41d77a19a0ab31225bd7a1facbe3c86e8576e2 /arch/arm/mach-s3c2416 | |
parent | a6e1ec7f69950864ff8d992da6d929b1444f7cb3 (diff) |
ARM: S3C2416: Use s3c2440 style i2c controller
The s3c2416 i2c controllers are compatible with the s3c2440 style i2c
block, so change the device name appropriately.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>y
Diffstat (limited to 'arch/arm/mach-s3c2416')
-rw-r--r-- | arch/arm/mach-s3c2416/s3c2416.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2416/s3c2416.c b/arch/arm/mach-s3c2416/s3c2416.c index 6165dc7010fe..ad5a63a40d6e 100644 --- a/arch/arm/mach-s3c2416/s3c2416.c +++ b/arch/arm/mach-s3c2416/s3c2416.c | |||
@@ -50,6 +50,8 @@ | |||
50 | #include <plat/devs.h> | 50 | #include <plat/devs.h> |
51 | #include <plat/cpu.h> | 51 | #include <plat/cpu.h> |
52 | 52 | ||
53 | #include <plat/iic-core.h> | ||
54 | |||
53 | static struct map_desc s3c2416_iodesc[] __initdata = { | 55 | static struct map_desc s3c2416_iodesc[] __initdata = { |
54 | IODESC_ENT(WATCHDOG), | 56 | IODESC_ENT(WATCHDOG), |
55 | IODESC_ENT(CLKPWR), | 57 | IODESC_ENT(CLKPWR), |
@@ -80,6 +82,10 @@ int __init s3c2416_init(void) | |||
80 | s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT; | 82 | s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT; |
81 | s3c_device_wdt.resource[1].end = IRQ_S3C2443_WDT; | 83 | s3c_device_wdt.resource[1].end = IRQ_S3C2443_WDT; |
82 | 84 | ||
85 | /* the i2c devices are directly compatible with s3c2440 */ | ||
86 | s3c_i2c0_setname("s3c2440-i2c"); | ||
87 | s3c_i2c1_setname("s3c2440-i2c"); | ||
88 | |||
83 | return sysdev_register(&s3c2416_sysdev); | 89 | return sysdev_register(&s3c2416_sysdev); |
84 | } | 90 | } |
85 | 91 | ||