diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-11-13 00:00:58 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-11-29 10:46:12 -0500 |
commit | 619d4a4b40f44c1b45263a0e0c9598e3139a1fec (patch) | |
tree | 1cf30395b134a16812a18fb58e47f125920ad29d /arch/arm/mach-at91/at91sam9261.c | |
parent | ed20178d6266e0b9c9370e6862ac1eadadb8b321 (diff) |
ARM: at91: switch gpio clock to clkdev
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9261.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9261.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/at91sam9261.c b/arch/arm/mach-at91/at91sam9261.c index 80e3e0fac6b1..dd7924c996fc 100644 --- a/arch/arm/mach-at91/at91sam9261.c +++ b/arch/arm/mach-at91/at91sam9261.c | |||
@@ -175,6 +175,9 @@ static struct clk_lookup periph_clocks_lookups[] = { | |||
175 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), | 175 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), |
176 | CLKDEV_CON_DEV_ID("pclk", "ssc.2", &ssc2_clk), | 176 | CLKDEV_CON_DEV_ID("pclk", "ssc.2", &ssc2_clk), |
177 | CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &hck0), | 177 | CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &hck0), |
178 | CLKDEV_CON_ID("pioA", &pioA_clk), | ||
179 | CLKDEV_CON_ID("pioB", &pioB_clk), | ||
180 | CLKDEV_CON_ID("pioC", &pioC_clk), | ||
178 | }; | 181 | }; |
179 | 182 | ||
180 | static struct clk_lookup usart_clocks_lookups[] = { | 183 | static struct clk_lookup usart_clocks_lookups[] = { |
@@ -254,15 +257,12 @@ static struct at91_gpio_bank at91sam9261_gpio[] = { | |||
254 | { | 257 | { |
255 | .id = AT91SAM9261_ID_PIOA, | 258 | .id = AT91SAM9261_ID_PIOA, |
256 | .regbase = AT91SAM9261_BASE_PIOA, | 259 | .regbase = AT91SAM9261_BASE_PIOA, |
257 | .clock = &pioA_clk, | ||
258 | }, { | 260 | }, { |
259 | .id = AT91SAM9261_ID_PIOB, | 261 | .id = AT91SAM9261_ID_PIOB, |
260 | .regbase = AT91SAM9261_BASE_PIOB, | 262 | .regbase = AT91SAM9261_BASE_PIOB, |
261 | .clock = &pioB_clk, | ||
262 | }, { | 263 | }, { |
263 | .id = AT91SAM9261_ID_PIOC, | 264 | .id = AT91SAM9261_ID_PIOC, |
264 | .regbase = AT91SAM9261_BASE_PIOC, | 265 | .regbase = AT91SAM9261_BASE_PIOC, |
265 | .clock = &pioC_clk, | ||
266 | } | 266 | } |
267 | }; | 267 | }; |
268 | 268 | ||