]> git.baikalelectronics.ru Git - kernel.git/commit
sc16is7xx: fix Kconfig dependencies
authorJakub Kicinski <kubakici@wp.pl>
Wed, 1 Jul 2015 12:19:52 +0000 (14:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 22:32:32 +0000 (15:32 -0700)
commit2072aa7372455d3c4e6cbf6016ee626662e394f1
tree1020d9427dcf1e2a75fdf5f0c9e5b2b181efcb5f
parenta6e2f3e0f5f4292e55432e9d957e6cdd9fcaf8ad
sc16is7xx: fix Kconfig dependencies

When I2C=m and SPI=y or-ing them will produce =y while
what we need is the lower bound, i.e. =m.  Fortunately
SPI is a boolean so we need to handle only one special
case.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig