]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_mid: Add missing dependency
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 12 Nov 2015 13:21:23 +0000 (15:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Nov 2015 00:19:54 +0000 (16:19 -0800)
commitedd075aef2e29045986261f4ab101d61905429ba
tree76659df31b9328148f44bdaf0f27fe57b7c0c87c
parent7b34c2827fae2f0f5eeaed134e4c8d6901d09aaf
serial: 8250_mid: Add missing dependency

8250_mid uses rational_best_approximation() function, so the
driver needs to select CONFIG_RATIONAL option.

This fixes build error when CONFIG_RATIONAL is not enabled:

drivers/built-in.o: In function `mid8250_set_termios':
8250_mid.c:(.text+0x10169a): undefined reference to `rational_best_approximation'

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/Kconfig