Commit 9a596a62 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen

[AVR32] at32_spi_setup_slaves should be __init

Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent 08e15e81
...@@ -752,7 +752,7 @@ static struct resource atmel_spi1_resource[] = { ...@@ -752,7 +752,7 @@ static struct resource atmel_spi1_resource[] = {
DEFINE_DEV(atmel_spi, 1); DEFINE_DEV(atmel_spi, 1);
DEV_CLK(spi_clk, atmel_spi1, pba, 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, at32_spi_setup_slaves(unsigned int bus_num, struct spi_board_info *b,
unsigned int n, const u8 *pins) unsigned int n, const u8 *pins)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment