diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-01-10 20:20:02 +0100 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-02-09 15:01:59 +0100 |
commit | 3d60ee1b04320d0695e071828dbadf3564d4568a (patch) | |
tree | e8c7ab2f9318cc751a98da4589857edfe2c79e11 /arch/avr32/boards/atstk1000/spi.c | |
parent | 7f9f4678637f9ee1a999cc0870c4668f32e1a7eb (diff) | |
download | op-kernel-dev-3d60ee1b04320d0695e071828dbadf3564d4568a.zip op-kernel-dev-3d60ee1b04320d0695e071828dbadf3564d4568a.tar.gz |
[AVR32] SPI platform code update
Move stuff in spi.c into ATSTK1002 board code and update SPI
platform device definitions according to the new GPIO API.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards/atstk1000/spi.c')
-rw-r--r-- | arch/avr32/boards/atstk1000/spi.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/avr32/boards/atstk1000/spi.c b/arch/avr32/boards/atstk1000/spi.c deleted file mode 100644 index 567726c..0000000 --- a/arch/avr32/boards/atstk1000/spi.c +++ /dev/null @@ -1,27 +0,0 @@ -/* - * ATSTK1000 SPI devices - * - * Copyright (C) 2005 Atmel Norway - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -#include <linux/device.h> -#include <linux/spi/spi.h> - -static struct spi_board_info spi_board_info[] __initdata = { - { - .modalias = "ltv350qv", - .max_speed_hz = 16000000, - .bus_num = 0, - .chip_select = 1, - }, -}; - -static int board_init_spi(void) -{ - spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info)); - return 0; -} -arch_initcall(board_init_spi); |