memory: emif: Add Kconfig dependency for TI EMIF controller
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 4 May 2012 06:08:11 +0000 (11:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:25:29 +0000 (16:25 -0700)
Make TI_EMIF depends on ARCH_OMAP2PLUS to avoid build breaks on other
architectures. In future if other TI non OMAP socs start using it, the
dependency can be extended.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/memory/Kconfig

index b08327c..e0b3156 100644 (file)
@@ -9,6 +9,7 @@ if MEMORY
 
 config TI_EMIF
        tristate "Texas Instruments EMIF driver"
+       depends on ARCH_OMAP2PLUS
        select DDR
        help
          This driver is for the EMIF module available in Texas Instruments