Fix gpio_spi_old module for 2.6.35

SVN-Revision: 22576
master
Lars-Peter Clausen 15 years ago
parent 1835d39a9f
commit 9dbb998ee3
  1. 2
      target/linux/generic/patches-2.6.35/921-gpio_spi_driver.patch

@ -162,7 +162,7 @@ Please use the new mainline SPI-GPIO driver, as of 2.6.29.
+ } while (0) + } while (0)
+ +
+#define EXPAND_BITBANG_TXRX +#define EXPAND_BITBANG_TXRX
+#include <linux/spi/spi_bitbang.h> +#include "spi_bitbang_txrx.h"
+ +
+static u32 spi_gpio_txrx_mode0(struct spi_device *spi, +static u32 spi_gpio_txrx_mode0(struct spi_device *spi,
+ unsigned nsecs, u32 word, u8 bits) + unsigned nsecs, u32 word, u8 bits)

Loading…
Cancel
Save