]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
serial: ns16550: Call usbtty_poll only in non-SPL build
authorMarek Vasut <marex@denx.de>
Sat, 15 Sep 2012 08:25:19 +0000 (10:25 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:58 +0000 (11:53 -0700)
commitf2041388bd17a771f04030c39ec8b21caa2588dd
tree20392f162682d70a5ceab036508902dccb86e47e
parentf1f1e9cb7337e9ee6a7d6aeb1f76eb67f4dd126c
serial: ns16550: Call usbtty_poll only in non-SPL build

Having both USBTTY and CONFIG_SERIAL_MULTI enabled in SPL, the
usbtty.c file is protected in Makefile to not be compiled into
the SPL. Yet, the ns16550 serial driver does not contain such
protection. Add it to avoid missing symbol error.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
drivers/serial/ns16550.c