diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-10-22 15:42:35 (GMT) |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-10-23 09:19:32 (GMT) |
commit | 2042c1c4e7a5e3b69ff3c3c5db6bf6416abd8b24 (patch) | |
tree | 8416e078bfcd15981124694b2526a5a582ebaa5a /include/asm-avr32 | |
parent | 86298962c06c2584a8c4df5fb92a70179ca7e4f5 (diff) | |
download | linux-2042c1c4e7a5e3b69ff3c3c5db6bf6416abd8b24.tar.xz |
[AVR32] Implement more at32_add_device_foo() functions
Implement functions for adding platform devices for TWI, MCI, AC97C
and ABDAC. They may need to be modified to cope with platform data,
etc. when the corresponding drivers are ready to be merged, but such
changes are much less likely to conflict than adding support for a
whole new type of device.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32')
-rw-r--r-- | include/asm-avr32/arch-at32ap/board.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h index c18160f..946378a 100644 --- a/include/asm-avr32/arch-at32ap/board.h +++ b/include/asm-avr32/arch-at32ap/board.h @@ -65,4 +65,9 @@ at32_add_device_ide(unsigned int id, unsigned int extint, struct platform_device * at32_add_device_ssc(unsigned int id, unsigned int flags); +struct platform_device *at32_add_device_twi(unsigned int id); +struct platform_device *at32_add_device_mci(unsigned int id); +struct platform_device *at32_add_device_ac97c(unsigned int id); +struct platform_device *at32_add_device_abdac(unsigned int id); + #endif /* __ASM_ARCH_BOARD_H */ |