]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/mach-s3c2410/include/mach/spi.h
ARM: S3C24XX: remove unused spi gpio setup functions
[mirror_ubuntu-artful-kernel.git] / arch / arm / mach-s3c2410 / include / mach / spi.h
CommitLineData
a09e64fb 1/* arch/arm/mach-s3c2410/include/mach/spi.h
7fba5340
BD
2 *
3 * Copyright (c) 2006 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
5 *
6 * S3C2410 - SPI Controller platform_device info
7 *
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.
11*/
12
13#ifndef __ASM_ARCH_SPI_H
14#define __ASM_ARCH_SPI_H __FILE__
15
7fba5340 16struct s3c2410_spi_info {
ee9c1fbf 17 int pin_cs; /* simple gpio cs */
d1e77806 18 unsigned int num_cs; /* total chipselects */
cb1d0a7a 19 int bus_num; /* bus number to use. */
7fba5340 20
bec0806c
BD
21 unsigned int use_fiq:1; /* use fiq */
22
cf46b973 23 void (*gpio_setup)(struct s3c2410_spi_info *spi, int enable);
7fba5340
BD
24 void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol);
25};
26
7fba5340 27#endif /* __ASM_ARCH_SPI_H */