]> git.baikalelectronics.ru Git - kernel.git/commit
OF: Add helper for matching against linux,stdout-path
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 5 Aug 2013 12:40:44 +0000 (14:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 18:23:53 +0000 (11:23 -0700)
commit2f7959f5132eb2ea5cf8c0f908e962460342466c
tree345252b59a83bec24735caa96beead84f38a107d
parent188aec0b77e2b1ddc032eb2b6310b40bb9b20107
OF: Add helper for matching against linux,stdout-path

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>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/of/base.c
include/linux/of.h