thunderbolt: add PCI dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Jun 2014 13:52:09 +0000 (15:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 16:46:36 +0000 (09:46 -0700)
The thunderbolt drivers cannot be built if CONFIG_PCI is disabled,
better add an explicit Kconfig dependency.
The "default no" line is redundant and can be removed at the same
time.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/Kconfig

index 3a2552962d06601f3ded3992f9a5600a35bbdd83..5aab79bf345011ffa707a37ec163639e23b50a6d 100644 (file)
@@ -1,6 +1,6 @@
 menuconfig THUNDERBOLT
        tristate "Thunderbolt support for Apple devices"
-       default no
+       depends on PCI
        help
          Cactus Ridge Thunderbolt Controller driver
          This driver is required if you want to hotplug Thunderbolt devices on