home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / mach-s3c2410 / include / mach / spi-gpio.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  695 b   |  29 lines

  1. /* arch/arm/mach-s3c2410/include/mach/spi-gpio.h
  2.  *
  3.  * Copyright (c) 2006 Simtec Electronics
  4.  *    Ben Dooks <ben@simtec.co.uk>
  5.  *
  6.  * S3C2410 - SPI Controller platfrom_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_SPIGPIO_H
  14. #define __ASM_ARCH_SPIGPIO_H __FILE__
  15.  
  16. struct s3c2410_spigpio_info {
  17.     unsigned long         pin_clk;
  18.     unsigned long         pin_mosi;
  19.     unsigned long         pin_miso;
  20.  
  21.     int             num_chipselect;
  22.     int             bus_num;
  23.  
  24.     void (*chip_select)(struct s3c2410_spigpio_info *spi, int cs);
  25. };
  26.  
  27.  
  28. #endif /* __ASM_ARCH_SPIGPIO_H */
  29.