From: Haavard Skinnemoen Date: Mon, 19 Feb 2007 09:38:04 +0000 (+0100) Subject: [AVR32] at32_spi_setup_slaves should be __init X-Git-Tag: v2.6.21-rc4~102^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a596a6236e1b4d6c2e6105bd85eac19c9f4ec4c;p=linux-2.6 [AVR32] at32_spi_setup_slaves should be __init Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/mach-at32ap/at32ap7000.c b/arch/avr32/mach-at32ap/at32ap7000.c index bc235507c5..472703f90c 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[] = { 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) {