[PATCH] memory: emif: Add Kconfig dependency for TI EMIF controller

From: Santosh Shilimkar
Date: Fri May 04 2012 - 02:08:20 EST


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@xxxxxx>
Reported-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
drivers/memory/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index b08327c..e0b3156 100644
--- a/drivers/memory/Kconfig
+++ b/drivers/memory/Kconfig
@@ -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
--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/