summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorJochen Friedrich <jochen@scram.de>2008-04-12 05:22:35 +1000
committerPaul Mackerras <paulus@samba.org>2008-04-17 07:46:11 +1000
commit612212a3f2f053ea68ce9cd16d3deeca7754e8c9 (patch)
tree90956837077b037215d4447e670e9a7e8426dedf /drivers/of/Kconfig
parentb7ce341585a51a6d65c7a77b6918132a3b360b81 (diff)
[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 3354ad766a4..7c305317f37 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