diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 12:14:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 12:14:46 -0400 |
commit | 32f15dc5e6252f03aa2e04a2b140827a8297f21f (patch) | |
tree | 2898e6fd94c9e2f668dd76fb1b0290b84c6314e6 /arch/avr32/boards/atstk1000/atstk1002.c | |
parent | 07db59bd6b0f279c31044cba6787344f63be87ea (diff) | |
parent | 8224ca195874525533665bbcd23b6da1e575aa4d (diff) |
Merge branch 'for-linus' of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32
* 'for-linus' of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32: (21 commits)
[AVR32] Fix compile error with gcc 4.1
avr32: remove unneeded cast in atomic.h
AVR32: Remove useless config option "GENERIC_BUST_SPINLOCK".
[AVR32] Optimize the TLB miss handler
[AVR32] Board code for ATNGW100
[AVR32] Use memcpy/memset in memcpy_{from,to}_io and memset_io
[AVR32] Get rid of board_setup_fbmem()
[AVR32] Reserve framebuffer memory in early_parse_fbmem()
[AVR32] Simplify early handling of memory regions
[AVR32] Move setup_bootmem() from mm/init.c to kernel/setup.c
[AVR32] Make I/O access macros work with external devices
[AVR32] Fix NMI handler
[AVR32] Clean up exception handling code
[AVR32] Clean up cpu identification and add features bitmap
[AVR32] Clean up asm/sysreg.h
[AVR32] Don't enable clocks with no users
[AVR32] Put cpu in sleep 0 when idle.
[AVR32] Change system timer from count-compare to Timer/Counter 0
[AVR32] Add mach-specific Kconfig
[AVR32] Add nwait and tdf parameters to SMC configuration
...
Diffstat (limited to 'arch/avr32/boards/atstk1000/atstk1002.c')
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1002.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c index 5974768a59e5..abe6ca203fa7 100644 --- a/arch/avr32/boards/atstk1000/atstk1002.c +++ b/arch/avr32/boards/atstk1000/atstk1002.c | |||
@@ -33,7 +33,7 @@ struct eth_addr { | |||
33 | static struct eth_addr __initdata hw_addr[2]; | 33 | static struct eth_addr __initdata hw_addr[2]; |
34 | 34 | ||
35 | static struct eth_platform_data __initdata eth_data[2]; | 35 | static struct eth_platform_data __initdata eth_data[2]; |
36 | extern struct lcdc_platform_data atstk1000_fb0_data; | 36 | static struct lcdc_platform_data atstk1000_fb0_data; |
37 | 37 | ||
38 | static struct spi_board_info spi0_board_info[] __initdata = { | 38 | static struct spi_board_info spi0_board_info[] __initdata = { |
39 | { | 39 | { |
@@ -148,6 +148,8 @@ static int __init atstk1002_init(void) | |||
148 | set_hw_addr(at32_add_device_eth(0, ð_data[0])); | 148 | set_hw_addr(at32_add_device_eth(0, ð_data[0])); |
149 | 149 | ||
150 | at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info)); | 150 | at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info)); |
151 | atstk1000_fb0_data.fbmem_start = fbmem_start; | ||
152 | atstk1000_fb0_data.fbmem_size = fbmem_size; | ||
151 | at32_add_device_lcdc(0, &atstk1000_fb0_data); | 153 | at32_add_device_lcdc(0, &atstk1000_fb0_data); |
152 | 154 | ||
153 | return 0; | 155 | return 0; |