summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/platform_data/spi-clps711x.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/platform_data/spi-clps711x.h')
-rw-r--r--kernel/include/linux/platform_data/spi-clps711x.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/include/linux/platform_data/spi-clps711x.h b/kernel/include/linux/platform_data/spi-clps711x.h
new file mode 100644
index 000000000..301956e63
--- /dev/null
+++ b/kernel/include/linux/platform_data/spi-clps711x.h
@@ -0,0 +1,21 @@
+/*
+ * CLPS711X SPI bus driver definitions
+ *
+ * Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H
+#define ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H
+
+/* Board specific platform_data */
+struct spi_clps711x_pdata {
+ int *chipselect; /* Array of GPIO-numbers */
+ int num_chipselect; /* Total count of GPIOs */
+};
+
+#endif