diff options
Diffstat (limited to 'arch/avr32/boards/atstk1000/atstk1004.c')
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1004.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/boards/atstk1000/atstk1004.c b/arch/avr32/boards/atstk1000/atstk1004.c index 949c13ec51ed..5d4855971719 100644 --- a/arch/avr32/boards/atstk1000/atstk1004.c +++ b/arch/avr32/boards/atstk1000/atstk1004.c | |||
@@ -99,7 +99,7 @@ static void __init atstk1004_setup_extdac(void) | |||
99 | goto err_set_clk; | 99 | goto err_set_clk; |
100 | } | 100 | } |
101 | 101 | ||
102 | at32_select_periph(GPIO_PIN_PA(30), GPIO_PERIPH_A, 0); | 102 | at32_select_periph(GPIO_PIOA_BASE, (1 << 30), GPIO_PERIPH_A, 0); |
103 | at73c213_data.dac_clk = gclk; | 103 | at73c213_data.dac_clk = gclk; |
104 | 104 | ||
105 | err_set_clk: | 105 | err_set_clk: |