[AVR32] Clean up external DAC setup code
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 29 Oct 2007 15:24:09 +0000 (16:24 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 25 Jan 2008 07:31:42 +0000 (08:31 +0100)
commit64d81052671bc2e66efd46251883f5e8e3043db9
tree7a72e66dddc5174aa4b30a7112aa5e33f0f4d02d
parentf4c41b2689eec03bd4f8145a08903862673e002b
[AVR32] Clean up external DAC setup code

Reduce the ridiculous amount of #ifdef clutter in atstk1002.c a bit by
moving all the extdac stuff into its own function and providing an
empty stub for the case when it isn't wanted.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/boards/atstk1000/Kconfig
arch/avr32/boards/atstk1000/atstk1002.c