From: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Date: Sat, 31 May 2008 09:37:27 +0000 (+0200)
Subject: UIO: fix UIO Kconfig dependencies
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=934da4766e5f72797118f7c014efaef567a812fc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

UIO: fix UIO Kconfig dependencies

ae210f188614bb3d1ee3f19c64e28e3cdd44877c introduced a big "if UIO"/"endif"
where all uio drivers are defined.  So know there is no need for them to
depend explicitly on UIO.

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
index a4aaab9c7ddc..78e139c935eb 100644
--- a/drivers/uio/Kconfig
+++ b/drivers/uio/Kconfig
@@ -15,7 +15,7 @@ if UIO
 
 config UIO_CIF
 	tristate "generic Hilscher CIF Card driver"
-	depends on UIO && PCI
+	depends on PCI
 	default n
 	help
 	  Driver for Hilscher CIF DeviceNet and Profibus cards.  This
@@ -28,7 +28,6 @@ config UIO_CIF
 
 config UIO_SMX
 	tristate "SMX cryptengine UIO interface"
-	depends on UIO
 	default n
 	help
 	  Userspace IO interface to the Cryptography engine found on the