diff options
author | Ben Dooks <ben-linux@fluff.org> | 2011-03-03 23:55:44 +0100 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-03-04 07:46:26 +0100 |
commit | 400b11a784b0202307b8596b0c393ca9966fd8b4 (patch) | |
tree | 2b46e69914fc5dcfb1dce5f85fc8a44d10d08901 /arch | |
parent | ARM: S3C64XX: Staticise non-exported GPIO to interrupt functions (diff) | |
download | linux-400b11a784b0202307b8596b0c393ca9966fd8b4.tar.xz linux-400b11a784b0202307b8596b0c393ca9966fd8b4.zip |
ARM: S3C64XX: Add clock for i2c1
The clock for i2c1 has been missing for a while, add it to the list of
clocks for the system and ensure it is initialised at startup.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c64xx/clock.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c index dd3782064508..fdfc4d5e37a1 100644 --- a/arch/arm/mach-s3c64xx/clock.c +++ b/arch/arm/mach-s3c64xx/clock.c @@ -151,6 +151,12 @@ static struct clk init_clocks_off[] = { .enable = s3c64xx_pclk_ctrl, .ctrlbit = S3C_CLKCON_PCLK_IIC, }, { + .name = "i2c", + .id = 1, + .parent = &clk_p, + .enable = s3c64xx_pclk_ctrl, + .ctrlbit = S3C6410_CLKCON_PCLK_I2C1, + }, { .name = "iis", .id = 0, .parent = &clk_p, |