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/at91sam9260.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/at91sam9260.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9260.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/at91sam9260.c b/arch/arm/mach-at91/at91sam9260.c index e94cc2268461..943da2100cdc 100644 --- a/arch/arm/mach-at91/at91sam9260.c +++ b/arch/arm/mach-at91/at91sam9260.c | |||
@@ -210,6 +210,9 @@ static struct clk_lookup periph_clocks_lookups[] = { | |||
210 | CLKDEV_CON_DEV_ID("usart", "fffd8000.serial", &usart5_clk), | 210 | CLKDEV_CON_DEV_ID("usart", "fffd8000.serial", &usart5_clk), |
211 | /* fake hclk clock */ | 211 | /* fake hclk clock */ |
212 | CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &ohci_clk), | 212 | CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &ohci_clk), |
213 | CLKDEV_CON_ID("pioA", &pioA_clk), | ||
214 | CLKDEV_CON_ID("pioB", &pioB_clk), | ||
215 | CLKDEV_CON_ID("pioC", &pioC_clk), | ||
213 | }; | 216 | }; |
214 | 217 | ||
215 | static struct clk_lookup usart_clocks_lookups[] = { | 218 | static struct clk_lookup usart_clocks_lookups[] = { |
@@ -275,15 +278,12 @@ static struct at91_gpio_bank at91sam9260_gpio[] = { | |||
275 | { | 278 | { |
276 | .id = AT91SAM9260_ID_PIOA, | 279 | .id = AT91SAM9260_ID_PIOA, |
277 | .regbase = AT91SAM9260_BASE_PIOA, | 280 | .regbase = AT91SAM9260_BASE_PIOA, |
278 | .clock = &pioA_clk, | ||
279 | }, { | 281 | }, { |
280 | .id = AT91SAM9260_ID_PIOB, | 282 | .id = AT91SAM9260_ID_PIOB, |
281 | .regbase = AT91SAM9260_BASE_PIOB, | 283 | .regbase = AT91SAM9260_BASE_PIOB, |
282 | .clock = &pioB_clk, | ||
283 | }, { | 284 | }, { |
284 | .id = AT91SAM9260_ID_PIOC, | 285 | .id = AT91SAM9260_ID_PIOC, |
285 | .regbase = AT91SAM9260_BASE_PIOC, | 286 | .regbase = AT91SAM9260_BASE_PIOC, |
286 | .clock = &pioC_clk, | ||
287 | } | 287 | } |
288 | }; | 288 | }; |
289 | 289 | ||