diff options
author | Nikolaus Voss <n.voss@weinmann.de> | 2011-11-08 12:09:30 +0100 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-09-12 14:48:56 +0200 |
commit | af2a5f09fb6d317a0ec4b5026cd50f0b49a60419 (patch) | |
tree | fae8922a9c0f22bc645a9a63fe04dab071c82d04 /arch/arm/mach-at91/at91sam9rl.c | |
parent | e89cec7ff86febe51eff001c0bf2c81ce601cfe4 (diff) | |
download | blackbird-obmc-linux-af2a5f09fb6d317a0ec4b5026cd50f0b49a60419.tar.gz blackbird-obmc-linux-af2a5f09fb6d317a0ec4b5026cd50f0b49a60419.zip |
Replace clk_lookup.con_id with clk_lookup.dev_id entries for twi clk
The old driver used con_id clock entries. Convert to use dev_id
for clock lookup via standard method.
Signed-off-by: Nikolaus Voss <n.voss@weinmann.de>
Tested-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Reviewed-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9rl.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9rl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c index 72ce50a50de5..bf79c1fd5939 100644 --- a/arch/arm/mach-at91/at91sam9rl.c +++ b/arch/arm/mach-at91/at91sam9rl.c @@ -186,6 +186,8 @@ static struct clk_lookup periph_clocks_lookups[] = { CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.0", &tc2_clk), CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), + CLKDEV_CON_DEV_ID(NULL, "at91_i2c.0", &twi0_clk), + CLKDEV_CON_DEV_ID(NULL, "at91_i2c.1", &twi1_clk), CLKDEV_CON_ID("pioA", &pioA_clk), CLKDEV_CON_ID("pioB", &pioB_clk), CLKDEV_CON_ID("pioC", &pioC_clk), |