aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/uislib/Kconfig
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2015-02-21 13:16:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-26 17:24:42 -0800
commit59ce8d558c0e2d0217d2aab938c8334a896c02ee (patch)
tree668a63b73dcb018973ad30d2560a532524896bbf /drivers/staging/unisys/uislib/Kconfig
parentunisys: remove the thread variable and API (diff)
downloadlinux-dev-59ce8d558c0e2d0217d2aab938c8334a896c02ee.tar.xz
linux-dev-59ce8d558c0e2d0217d2aab938c8334a896c02ee.zip
staging: unisys: Rework Kconfig dependencies
I find the Kconfig dependencies of the various Unisys drivers rather confusing. Due to the dependencies, you must select the drivers one by one to see the following ones. So if you are looking for a specific driver, it is not visible by default. And if you don't know exactly what you need, it's even worse as you don't know what is available. In a case like this with several helper drivers and many dependencies, I think it makes more sense to list all the drivers at first, and use select statements to fulfill the dependencies for the user. As a nice side effect, it avoids the weird indentation, which was technically correct but still somewhat confusing. I also dropped the dependencies on HAS_IOMEM, as the whole driver set is for X86_64 only anyway which always has HAS_IOMEM set. And I dropped the redundant dependencies on UNISYSSPAR as all drivers are already inside an "if UNISYSSPAR" block. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Benjamin Romer <benjamin.romer@unisys.com> Cc: David Kershner <david.kershner@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/uislib/Kconfig')
-rw-r--r--drivers/staging/unisys/uislib/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/uislib/Kconfig b/drivers/staging/unisys/uislib/Kconfig
index a712eb82224a..c39a0a21ae5f 100644
--- a/drivers/staging/unisys/uislib/Kconfig
+++ b/drivers/staging/unisys/uislib/Kconfig
@@ -4,7 +4,7 @@
config UNISYS_UISLIB
tristate "Unisys uislib driver"
- depends on UNISYSSPAR && UNISYS_VISORCHIPSET && HAS_IOMEM
+ select UNISYS_VISORCHIPSET
---help---
If you say Y here, you will enable the Unisys uislib driver.