diff options
Diffstat (limited to 'arch/avr32/boards')
-rw-r--r-- | arch/avr32/boards/favr-32/setup.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/avr32/boards/favr-32/setup.c b/arch/avr32/boards/favr-32/setup.c index 745c408c2ac5..cf6e4e5624d0 100644 --- a/arch/avr32/boards/favr-32/setup.c +++ b/arch/avr32/boards/favr-32/setup.c | |||
@@ -22,6 +22,8 @@ | |||
22 | #include <linux/spi/spi.h> | 22 | #include <linux/spi/spi.h> |
23 | #include <linux/spi/ads7846.h> | 23 | #include <linux/spi/ads7846.h> |
24 | 24 | ||
25 | #include <sound/atmel-abdac.h> | ||
26 | |||
25 | #include <video/atmel_lcdc.h> | 27 | #include <video/atmel_lcdc.h> |
26 | 28 | ||
27 | #include <asm/setup.h> | 29 | #include <asm/setup.h> |
@@ -41,6 +43,9 @@ unsigned long at32_board_osc_rates[3] = { | |||
41 | /* Initialized by bootloader-specific startup code. */ | 43 | /* Initialized by bootloader-specific startup code. */ |
42 | struct tag *bootloader_tags __initdata; | 44 | struct tag *bootloader_tags __initdata; |
43 | 45 | ||
46 | static struct atmel_abdac_pdata __initdata abdac0_data = { | ||
47 | }; | ||
48 | |||
44 | struct eth_addr { | 49 | struct eth_addr { |
45 | u8 addr[6]; | 50 | u8 addr[6]; |
46 | }; | 51 | }; |
@@ -326,7 +331,7 @@ static int __init favr32_init(void) | |||
326 | 331 | ||
327 | spi1_board_info[0].irq = gpio_to_irq(GPIO_PIN_PB(3)); | 332 | spi1_board_info[0].irq = gpio_to_irq(GPIO_PIN_PB(3)); |
328 | 333 | ||
329 | set_abdac_rate(at32_add_device_abdac(0)); | 334 | set_abdac_rate(at32_add_device_abdac(0, &abdac0_data)); |
330 | 335 | ||
331 | at32_add_device_pwm(1 << atmel_pwm_bl_pdata.pwm_channel); | 336 | at32_add_device_pwm(1 << atmel_pwm_bl_pdata.pwm_channel); |
332 | at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info)); | 337 | at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info)); |