Merge pull request #580 from wigyori/cc-libpcap
[15.05/openwrt.git] / target / linux / cns3xxx / patches-3.18 / 070-i2c_support.patch
1 --- a/drivers/i2c/busses/Kconfig
2 +++ b/drivers/i2c/busses/Kconfig
3 @@ -417,6 +417,18 @@ config I2C_CBUS_GPIO
4           This driver can also be built as a module.  If so, the module
5           will be called i2c-cbus-gpio.
6  
7 +config I2C_CNS3XXX
8 +       tristate "Cavium CNS3xxx I2C driver"
9 +       depends on ARCH_CNS3XXX
10 +       help
11 +         Support for Cavium CNS3xxx I2C controller driver.
12 +
13 +         This driver can also be built as a module.  If so, the module
14 +         will be called i2c-cns3xxx.
15 +
16 +         Please note that this driver might be needed to bring up other
17 +         devices such as Cavium CNS3xxx Ethernet.
18 +
19  config I2C_CPM
20         tristate "Freescale CPM1 or CPM2 (MPC8xx/826x)"
21         depends on CPM1 || CPM2
22 --- a/drivers/i2c/busses/Makefile
23 +++ b/drivers/i2c/busses/Makefile
24 @@ -101,6 +101,7 @@ obj-$(CONFIG_I2C_CROS_EC_TUNNEL)    += i2c-
25  obj-$(CONFIG_I2C_ELEKTOR)      += i2c-elektor.o
26  obj-$(CONFIG_I2C_PCA_ISA)      += i2c-pca-isa.o
27  obj-$(CONFIG_I2C_SIBYTE)       += i2c-sibyte.o
28 +obj-$(CONFIG_I2C_CNS3XXX)      += i2c-cns3xxx.o
29  obj-$(CONFIG_SCx200_ACB)       += scx200_acb.o
30  
31  ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG