kernel: unbreal of_i2c selection
[openwrt.git] / package / kernel / linux / modules / i2c.mk
index 0855708..0772965 100644 (file)
@@ -24,7 +24,7 @@ I2C_CORE_MODULES:= \
   CONFIG_I2C:drivers/i2c/i2c-core \
   CONFIG_I2C_CHARDEV:drivers/i2c/i2c-dev
 
-ifeq (CONFIG_OF,y)
+ifeq ($(CONFIG_OF),y)
   I2C_CORE_MODULES+=CONFIG_OF_I2C:drivers/of/of_i2c
 endif