summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi/rtl8723as/include/drv_types_gspi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8723as/include/drv_types_gspi.h')
-rwxr-xr-xdrivers/net/wireless/rtlwifi/rtl8723as/include/drv_types_gspi.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8723as/include/drv_types_gspi.h b/drivers/net/wireless/rtlwifi/rtl8723as/include/drv_types_gspi.h
new file mode 100755
index 000000000000..fafd0dfd78e9
--- /dev/null
+++ b/drivers/net/wireless/rtlwifi/rtl8723as/include/drv_types_gspi.h
@@ -0,0 +1,49 @@
+/******************************************************************************
+ *
+ * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
+ *
+ *
+ ******************************************************************************/
+#ifndef __DRV_TYPES_GSPI_H__
+#define __DRV_TYPES_GSPI_H__
+
+#include <drv_conf.h>
+#include <basic_types.h>
+
+// SPI Header Files
+#ifdef PLATFORM_LINUX
+#include <linux/spi/spi.h>
+#endif
+
+
+typedef struct gspi_data
+{
+ u8 func_number;
+
+ u8 tx_block_mode;
+ u8 rx_block_mode;
+ u32 block_transfer_len;
+
+#ifdef PLATFORM_LINUX
+ struct spi_device *func;
+
+ struct workqueue_struct *priv_wq;
+ struct delayed_work irq_work;
+#endif
+} GSPI_DATA, *PGSPI_DATA;
+
+#endif // #ifndef __DRV_TYPES_GSPI_H__
+