summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorJochen Friedrich <jochen@scram.de>2008-04-11 21:22:35 +0200
committerPaul Mackerras <paulus@samba.org>2008-04-16 23:46:11 +0200
commit612212a3f2f053ea68ce9cd16d3deeca7754e8c9 (patch)
tree90956837077b037215d4447e670e9a7e8426dedf /drivers/of/Kconfig
parent[POWERPC] Implement support for the GPIO LIB API (diff)
downloadlinux-612212a3f2f053ea68ce9cd16d3deeca7754e8c9.tar.xz
linux-612212a3f2f053ea68ce9cd16d3deeca7754e8c9.zip
[POWERPC] i2c: OF helpers for the i2c API
This implements various helpers to support OF bindings for the i2c API. Signed-off-by: Jochen Friedrich <jochen@scram.de> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
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