]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[AVR32] at32_spi_setup_slaves should be __init
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 19 Feb 2007 09:38:04 +0000 (10:38 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 7 Mar 2007 09:50:26 +0000 (10:50 +0100)
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mach-at32ap/at32ap7000.c

index bc235507c5c7508c28a79a6219079c95d349641b..472703f90c22cfceb918af4c3e1a26a8ca6e815b 100644 (file)
@@ -752,7 +752,7 @@ static struct resource atmel_spi1_resource[] = {
 DEFINE_DEV(atmel_spi, 1);
 DEV_CLK(spi_clk, atmel_spi1, pba, 1);
 
-static void
+static void __init
 at32_spi_setup_slaves(unsigned int bus_num, struct spi_board_info *b,
                      unsigned int n, const u8 *pins)
 {