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)
commit32aa6339d9c5156de5d881b103e0e360934d6a74
tree1020d9427dcf1e2a75fdf5f0c9e5b2b181efcb5f
parentd8c2c0d89205a3538c5fd77dc9d4767ee6bebc70
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