serial: pl011: add console matching function
This patch adds function pl011_console_match() that implements method match of struct console. It allows to match consoles against data specified in a string, for example taken from command line or compiled by ACPI SPCR table handler. Signed-off-by: NAleksey Makarov <aleksey.makarov@linaro.org> Reviewed-by: NPeter Hurley <peter@hurleysoftware.com> Acked-by: NRussell King <rmk+kernel@armlinux.org.uk> Tested-by: NChristopher Covington <cov@codeaurora.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录