]> err.no Git - linux-2.6/blobdiff - drivers/of/Kconfig
of: adapt of_find_i2c_driver() to be usable by SPI also
[linux-2.6] / drivers / of / Kconfig
index c03072b12f423a981f208fdb0ad753f5c3f1ffe5..1d7ec3129349b2cefeee64afd68fb92ae85a17e5 100644 (file)
@@ -1,3 +1,15 @@
 config OF_DEVICE
        def_bool y
        depends on OF && (SPARC || PPC_OF)
+
+config OF_GPIO
+       def_bool y
+       depends on OF && PPC_OF && GPIOLIB
+       help
+         OpenFirmware GPIO accessors
+
+config OF_I2C
+       def_tristate I2C
+       depends on PPC_OF && I2C
+       help
+         OpenFirmware I2C accessors