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