Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee13...
[pandora-kernel.git] / arch / avr32 / boards / atstk1000 / spi.c
1 /*
2  * ATSTK1000 SPI devices
3  *
4  * Copyright (C) 2005 Atmel Norway
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 #include <linux/device.h>
11 #include <linux/spi/spi.h>
12
13 static struct spi_board_info spi_board_info[] __initdata = {
14         {
15                 .modalias       = "ltv350qv",
16                 .max_speed_hz   = 16000000,
17                 .bus_num        = 0,
18                 .chip_select    = 1,
19         },
20 };
21
22 static int board_init_spi(void)
23 {
24         spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info));
25         return 0;
26 }
27 arch_initcall(board_init_spi);