diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-02-19 04:38:04 -0500 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-03-07 04:50:26 -0500 |
commit | 9a596a6236e1b4d6c2e6105bd85eac19c9f4ec4c (patch) | |
tree | 88109f73882c8f454288d1d68b6ae88bb9ac0b29 /arch/avr32/mach-at32ap | |
parent | 08e15e81a40e3241ce93b4a43886f3abda184aa6 (diff) |
[AVR32] at32_spi_setup_slaves should be __init
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap')
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap7000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap7000.c b/arch/avr32/mach-at32ap/at32ap7000.c index bc235507c5c7..472703f90c22 100644 --- a/arch/avr32/mach-at32ap/at32ap7000.c +++ b/arch/avr32/mach-at32ap/at32ap7000.c | |||
@@ -752,7 +752,7 @@ static struct resource atmel_spi1_resource[] = { | |||
752 | DEFINE_DEV(atmel_spi, 1); | 752 | DEFINE_DEV(atmel_spi, 1); |
753 | DEV_CLK(spi_clk, atmel_spi1, pba, 1); | 753 | DEV_CLK(spi_clk, atmel_spi1, pba, 1); |
754 | 754 | ||
755 | static void | 755 | static void __init |
756 | at32_spi_setup_slaves(unsigned int bus_num, struct spi_board_info *b, | 756 | at32_spi_setup_slaves(unsigned int bus_num, struct spi_board_info *b, |
757 | unsigned int n, const u8 *pins) | 757 | unsigned int n, const u8 *pins) |
758 | { | 758 | { |