diff options
Diffstat (limited to 'include/linux/spi/libertas_spi.h')
-rw-r--r-- | include/linux/spi/libertas_spi.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/spi/libertas_spi.h b/include/linux/spi/libertas_spi.h new file mode 100644 index 000000000000..ada71b4f3788 --- /dev/null +++ b/include/linux/spi/libertas_spi.h | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | * board-specific data for the libertas_spi driver. | ||
3 | * | ||
4 | * Copyright 2008 Analog Devices Inc. | ||
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 (at | ||
9 | * your option) any later version. | ||
10 | */ | ||
11 | #ifndef _LIBERTAS_SPI_H_ | ||
12 | #define _LIBERTAS_SPI_H_ | ||
13 | struct libertas_spi_platform_data { | ||
14 | /* There are two ways to read data from the WLAN module's SPI | ||
15 | * interface. Setting 0 or 1 here controls which one is used. | ||
16 | * | ||
17 | * Usually you want to set use_dummy_writes = 1. | ||
18 | * However, if that doesn't work or if you are using a slow SPI clock | ||
19 | * speed, you may want to use 0 here. */ | ||
20 | u16 use_dummy_writes; | ||
21 | |||
22 | /* GPIO number to use as chip select */ | ||
23 | u16 gpio_cs; | ||
24 | }; | ||
25 | #endif | ||