[openwrt/openwrt] ramips: enable I2C_CHARDEV in mt7621/config-5.10

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 28 09:08:17 PST 2022


stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a47f15294324462192acd6c2f304f888ff609cb4

commit a47f15294324462192acd6c2f304f888ff609cb4
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Fri Jan 28 18:56:34 2022 +0200

    ramips: enable I2C_CHARDEV in mt7621/config-5.10
    
    I2C_CHARDEV used to be enabled in mt7621/config-5.4. Enable it in the
    5.10 config, as it's required for PoE control on Unifi Switch Flex.
    
    Fixes: b4aad29a1d7a ("ramips: add support for kernel 5.10")
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 target/linux/ramips/mt7621/config-5.10 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/mt7621/config-5.10 b/target/linux/ramips/mt7621/config-5.10
index f3bf6fbb2b..8a5e778e7e 100644
--- a/target/linux/ramips/mt7621/config-5.10
+++ b/target/linux/ramips/mt7621/config-5.10
@@ -96,6 +96,7 @@ CONFIG_HAS_IOPORT_MAP=y
 CONFIG_HIGHMEM=y
 CONFIG_I2C=y
 CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_GPIO=y
 CONFIG_I2C_MT7621=y
 CONFIG_INITRAMFS_SOURCE=""



More information about the lede-commits mailing list