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 / include / linux / of_spi.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  406 b   |  19 lines

  1. /*
  2.  * OpenFirmware SPI support routines
  3.  * Copyright (C) 2008 Secret Lab Technologies Ltd.
  4.  *
  5.  * Support routines for deriving SPI device attachments from the device
  6.  * tree.
  7.  */
  8.  
  9. #ifndef __LINUX_OF_SPI_H
  10. #define __LINUX_OF_SPI_H
  11.  
  12. #include <linux/of.h>
  13. #include <linux/spi/spi.h>
  14.  
  15. extern void of_register_spi_devices(struct spi_master *master,
  16.                     struct device_node *np);
  17.  
  18. #endif /* __LINUX_OF_SPI */
  19.