diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-08-19 05:34:07 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-19 05:34:07 +0400 |
commit | 2879a927bb7a3cf91ae3906a5e59215f9c17dd75 (patch) | |
tree | 870bdd1bd530a3d5d2abd10539700446b2878188 /arch/arm/mach-s3c2410/include/mach/spi.h | |
parent | 7e7b43892b87b6be259479ef4de14029dcb4012f (diff) | |
parent | 20211e4d344729f4d4c93da37a590fc1c3a1fd9b (diff) | |
download | linux-2879a927bb7a3cf91ae3906a5e59215f9c17dd75.tar.xz |
Merge branch 'x86/oprofile' into oprofile
Diffstat (limited to 'arch/arm/mach-s3c2410/include/mach/spi.h')
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/spi.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/spi.h b/arch/arm/mach-s3c2410/include/mach/spi.h new file mode 100644 index 000000000000..921b13b4f0a0 --- /dev/null +++ b/arch/arm/mach-s3c2410/include/mach/spi.h @@ -0,0 +1,25 @@ +/* arch/arm/mach-s3c2410/include/mach/spi.h + * + * Copyright (c) 2006 Simtec Electronics + * Ben Dooks <ben@simtec.co.uk> + * + * S3C2410 - SPI Controller platform_device info + * + * 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. +*/ + +#ifndef __ASM_ARCH_SPI_H +#define __ASM_ARCH_SPI_H __FILE__ + +struct s3c2410_spi_info { + unsigned long pin_cs; /* simple gpio cs */ + unsigned int num_cs; /* total chipselects */ + int bus_num; /* bus number to use. */ + + void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol); +}; + + +#endif /* __ASM_ARCH_SPI_H */ |