diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2011-09-04 16:19:51 -0400 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2011-09-21 12:45:32 -0400 |
commit | 315d8f5ccdbb2abb609d1ca1119fb32273a09cf8 (patch) | |
tree | 2075080cbf58c7e9353b79a3d44422d6a337eda1 /drivers/hwspinlock | |
parent | b6fd41e29dea9c6753b1843a77e50433e6123bcb (diff) |
hwspinlock/core: simplify Kconfig
Simplify hwspinlock's Kconfig by making the global CONFIG_HWSPINLOCK
entry invisible; users will just select it when needed.
This also prepares the ground for adding hwspinlock support for other
platforms (the 'depends on ARCH_OMAP4' was rather hideous, and while
we're at it, a dedicated menu is added).
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'drivers/hwspinlock')
-rw-r--r-- | drivers/hwspinlock/Kconfig | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig index 1f29bab6b3e5..c8e7bdac1404 100644 --- a/drivers/hwspinlock/Kconfig +++ b/drivers/hwspinlock/Kconfig | |||
@@ -2,22 +2,20 @@ | |||
2 | # Generic HWSPINLOCK framework | 2 | # Generic HWSPINLOCK framework |
3 | # | 3 | # |
4 | 4 | ||
5 | # HWSPINLOCK always gets selected by whoever wants it. | ||
5 | config HWSPINLOCK | 6 | config HWSPINLOCK |
6 | tristate "Generic Hardware Spinlock framework" | 7 | tristate |
7 | depends on ARCH_OMAP4 | ||
8 | help | ||
9 | Say y here to support the generic hardware spinlock framework. | ||
10 | You only need to enable this if you have hardware spinlock module | ||
11 | on your system (usually only relevant if your system has remote slave | ||
12 | coprocessors). | ||
13 | 8 | ||
14 | If unsure, say N. | 9 | menu "Hardware Spinlock drivers" |
15 | 10 | ||
16 | config HWSPINLOCK_OMAP | 11 | config HWSPINLOCK_OMAP |
17 | tristate "OMAP Hardware Spinlock device" | 12 | tristate "OMAP Hardware Spinlock device" |
18 | depends on HWSPINLOCK && ARCH_OMAP4 | 13 | depends on ARCH_OMAP4 |
14 | select HWSPINLOCK | ||
19 | help | 15 | help |
20 | Say y here to support the OMAP Hardware Spinlock device (firstly | 16 | Say y here to support the OMAP Hardware Spinlock device (firstly |
21 | introduced in OMAP4). | 17 | introduced in OMAP4). |
22 | 18 | ||
23 | If unsure, say N. | 19 | If unsure, say N. |
20 | |||
21 | endmenu | ||