summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 3354ad766a49..7c305317f372 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -7,3 +7,9 @@ config OF_GPIO
depends on OF && PPC_OF && HAVE_GPIO_LIB
help
OpenFirmware GPIO accessors
+
+config OF_I2C
+ def_bool y
+ depends on OF && I2C
+ help
+ OpenFirmware I2C accessors