Rebased from upstream / out of band repository.
[librecmc/librecmc.git] / target / linux / ar71xx / patches-4.14 / 435-spi-vsc7385_driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -808,6 +808,11 @@ config SPI_RB4XX_CPLD
4           SPI driver for the Xilinx CPLD chip present on the
5           MikroTik RB4xx boards.
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 @@ -105,6 +105,7 @@ spi-thunderx-objs                   := spi-cavium.o spi-
18  obj-$(CONFIG_SPI_THUNDERX)             += spi-thunderx.o
19  obj-$(CONFIG_SPI_TOPCLIFF_PCH)         += spi-topcliff-pch.o
20  obj-$(CONFIG_SPI_TXX9)                 += spi-txx9.o
21 +obj-$(CONFIG_SPI_VSC7385)              += spi-vsc7385.o
22  obj-$(CONFIG_SPI_XCOMM)                += spi-xcomm.o
23  obj-$(CONFIG_SPI_XILINX)               += spi-xilinx.o
24  obj-$(CONFIG_SPI_XLP)                  += spi-xlp.o