spi-clps711x.h 628 B

123456789101112131415161718192021
  1. /*
  2. * CLPS711X SPI bus driver definitions
  3. *
  4. * Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. */
  11. #ifndef ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H
  12. #define ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H
  13. /* Board specific platform_data */
  14. struct spi_clps711x_pdata {
  15. int *chipselect; /* Array of GPIO-numbers */
  16. int num_chipselect; /* Total count of GPIOs */
  17. };
  18. #endif