On Fri, Mar 18, 2011 at 9:09 AM, Tony Lindgren <tony@xxxxxxxxxxx> wrote: > * Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> [110317 20:00]: >> Make platforms that need it "select" it or something. It looks like >> nobody but an OMAP4 could _possibly_ ever want to answer 'y' to that >> question, SO DON'T ASK IT! > > No problem, let's make it depends on OMAP4. (patch also attached in case gmail eats my whitespace) >From d086e8f994b9272f8c999af0a4d32d870749c77a Mon Sep 17 00:00:00 2001 From: Ohad Ben-Cohen <ohad@xxxxxxxxxx> Date: Fri, 18 Mar 2011 10:01:11 +0200 Subject: [PATCH] hwspinlock: depend on OMAP4 Currently only OMAP4 supports hwspinlocks, so don't bother asking anyone else. Signed-off-by: Ohad Ben-Cohen <ohad@xxxxxxxxxx> --- drivers/hwspinlock/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig index eb4af28..1f29bab 100644 --- a/drivers/hwspinlock/Kconfig +++ b/drivers/hwspinlock/Kconfig @@ -4,6 +4,7 @@ config HWSPINLOCK tristate "Generic Hardware Spinlock framework" + depends on ARCH_OMAP4 help Say y here to support the generic hardware spinlock framework. You only need to enable this if you have hardware spinlock module -- 1.7.1
From d086e8f994b9272f8c999af0a4d32d870749c77a Mon Sep 17 00:00:00 2001 From: Ohad Ben-Cohen <ohad@xxxxxxxxxx> Date: Fri, 18 Mar 2011 10:01:11 +0200 Subject: [PATCH] hwspinlock: depend on OMAP4 Currently only OMAP4 supports hwspinlocks, so don't bother asking anyone else. Signed-off-by: Ohad Ben-Cohen <ohad@xxxxxxxxxx> --- drivers/hwspinlock/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig index eb4af28..1f29bab 100644 --- a/drivers/hwspinlock/Kconfig +++ b/drivers/hwspinlock/Kconfig @@ -4,6 +4,7 @@ config HWSPINLOCK tristate "Generic Hardware Spinlock framework" + depends on ARCH_OMAP4 help Say y here to support the generic hardware spinlock framework. You only need to enable this if you have hardware spinlock module -- 1.7.1