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 b08327cca0e50dde696d323e286c9ac997b9a262..e0b3156d65b55002cfdb3ba314e5e22f61b5a96c 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