[PATCH 1/3] OF: Add helper for matching against linux, stdout-path
From: gregkh@linuxfoundation.org (Greg Kroah-Hartman)
Date: 2012-11-14 20:43:59
Also in:
linux-devicetree, linux-serial, lkml
From: gregkh@linuxfoundation.org (Greg Kroah-Hartman)
Date: 2012-11-14 20:43:59
Also in:
linux-devicetree, linux-serial, lkml
On Fri, Nov 02, 2012 at 10:48:52AM +0100, Sascha Hauer wrote:
devicetrees may have a linux,stdout-path property in the chosen node describing the console device. This adds a helper function to match a device against this property so a driver can call add_preferred_console for a matching device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> --- drivers/of/Kconfig | 3 +++ drivers/of/Makefile | 1 + drivers/of/of_stdout.c | 27 +++++++++++++++++++++++++++ include/linux/of_stdout.h | 24 ++++++++++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 drivers/of/of_stdout.c create mode 100644 include/linux/of_stdout.h
I need an ACK from the OF maintainers before I can take this through the tty tree. thanks, greg k-h