memory: omap-gpmc: Fix compile test on SPARC
[linux-2.6-microblaze.git] / drivers / memory / Kconfig
index 8072204..00e013b 100644 (file)
@@ -104,6 +104,7 @@ config TI_EMIF
 
 config OMAP_GPMC
        bool "Texas Instruments OMAP SoC GPMC driver" if COMPILE_TEST
+       depends on OF_ADDRESS
        select GPIOLIB
        help
          This driver is for the General Purpose Memory Controller (GPMC)