RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-s3c2410 / include / mach / spi-gpio.h
blobdcef2287cb38ae24e667fc661f818168aa927c37
1 /* arch/arm/mach-s3c2410/include/mach/spi-gpio.h
3 * Copyright (c) 2006 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * S3C2410 - SPI Controller platform_device info
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __ASM_ARCH_SPIGPIO_H
14 #define __ASM_ARCH_SPIGPIO_H __FILE__
16 struct s3c2410_spigpio_info {
17 unsigned long pin_clk;
18 unsigned long pin_mosi;
19 unsigned long pin_miso;
21 int num_chipselect;
22 int bus_num;
24 void (*chip_select)(struct s3c2410_spigpio_info *spi, int cs);
28 #endif /* __ASM_ARCH_SPIGPIO_H */