UIO: minor Kconfig fixes
authorJohn Ogness <john.ogness@linutronix.de>
Thu, 11 Feb 2010 14:38:53 +0000 (15:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Mar 2010 01:04:51 +0000 (17:04 -0800)
Two trivial fixes for the Userspace IO Kconfig file:
1) uio_sercos3 is a PCI driver, so let it depend on PCI.
2) "default n" under UIO_PCI_GENERIC is luxury since it is already the default.

Acked-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/Kconfig

index 069b1443be6c3d33fc0e8de01603701afc60d1e4..6dd2a290f323a72457e961b270bb038474520111 100644 (file)
@@ -74,6 +74,7 @@ config UIO_AEC
 
 config UIO_SERCOS3
        tristate "Automata Sercos III PCI card driver"
 
 config UIO_SERCOS3
        tristate "Automata Sercos III PCI card driver"
+       depends on PCI
        help
          Userspace I/O interface for the Sercos III PCI card from
          Automata GmbH. The userspace part of this driver will be
        help
          Userspace I/O interface for the Sercos III PCI card from
          Automata GmbH. The userspace part of this driver will be
@@ -87,7 +88,6 @@ config UIO_SERCOS3
 config UIO_PCI_GENERIC
        tristate "Generic driver for PCI 2.3 and PCI Express cards"
        depends on PCI
 config UIO_PCI_GENERIC
        tristate "Generic driver for PCI 2.3 and PCI Express cards"
        depends on PCI
-       default n
        help
          Generic driver that you can bind, dynamically, to any
          PCI 2.3 compliant and PCI Express card. It is useful,
        help
          Generic driver that you can bind, dynamically, to any
          PCI 2.3 compliant and PCI Express card. It is useful,