[PATCH v3] linux,stdout-path helper

From: Sascha Hauer
Date: Fri Nov 02 2012 - 05:48:55 EST


The following adds a helper for matching the linux,stdout-path property
in the chosen node and makes use of it in the i.MX serial driver.

changes since v2:

- move helper to OF core and make it independent of serial devices

changes since v1:

- move it out of the i.MX serial driver and make it generic for serial
devices.

----------------------------------------------------------------
Sascha Hauer (3):
OF: Add helper for matching against linux,stdout-path
serial: i.MX: Make console support non optional
serial: i.MX: evaluate linux,stdout-path property

drivers/of/Kconfig | 3 +++
drivers/of/Makefile | 1 +
drivers/of/of_stdout.c | 27 +++++++++++++++++++++++++++
drivers/tty/serial/Kconfig | 16 +---------------
drivers/tty/serial/imx.c | 12 +++++-------
include/linux/of_stdout.h | 24 ++++++++++++++++++++++++
6 files changed, 61 insertions(+), 22 deletions(-)
create mode 100644 drivers/of/of_stdout.c
create mode 100644 include/linux/of_stdout.h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/