*/
#ifndef _LIBERTAS_SPI_H_
#define _LIBERTAS_SPI_H_
+
+struct spi_device;
+
struct libertas_spi_platform_data {
/* There are two ways to read data from the WLAN module's SPI
* interface. Setting 0 or 1 here controls which one is used.
/* GPIO number to use as chip select */
u16 gpio_cs;
+
+ /* Board specific setup/teardown */
+ int (*setup)(struct spi_device *spi);
+ int (*teardown)(struct spi_device *spi);
};
#endif