generic: bacport SPI bus locking API
[openwrt.git] / target / linux / ar71xx / patches-2.6.32 / 202-spi_vsc7385_driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -296,6 +296,11 @@ config SPI_TLE62X0
4           sysfs interface, with each line presented as a kind of GPIO
5           exposing both switch control and diagnostic feedback.
6  
7 +config SPI_VSC7385
8 +       tristate "Vitesse VSC7385 ethernet switch driver"
9 +       help
10 +         SPI driver for the Vitesse VSC7385 ethernet switch.
11 +
12  #
13  # Add new SPI protocol masters in alphabetical order above this line
14  #
15 --- a/drivers/spi/Makefile
16 +++ b/drivers/spi/Makefile
17 @@ -40,6 +40,7 @@ obj-$(CONFIG_SPI_STMP3XXX)            += spi_stmp.
18  
19  # SPI protocol drivers (device/link on bus)
20  obj-$(CONFIG_SPI_SPIDEV)       += spidev.o
21 +obj-$(CONFIG_SPI_VSC7385)      += spi_vsc7385.o
22  obj-$(CONFIG_SPI_TLE62X0)      += tle62x0.o
23  #      ... add above this line ...
24