memory: emif: Add Kconfig dependency for TI EMIF controller
authorSantosh Shilimkar <[email protected]>
Fri, 4 May 2012 06:08:11 +0000 (11:38 +0530)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Reported-by: Paul Gortmaker <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
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