generic: bacport SPI bus locking API
[openwrt.git] / target / linux / ar71xx / patches-2.6.35 / 202-spi_vsc7385_driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -403,6 +403,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 @@ -59,6 +59,7 @@ spi_s3c24xx_hw-$(CONFIG_SPI_S3C24XX_FIQ)
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