From: Grant Likely Date: Fri, 28 Mar 2014 00:18:55 +0000 (-0700) Subject: of: Create of_console_check() for selecting a console specified in /chosen X-Git-Tag: omap-for-v3.17/fixes-against-rc2~69^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3482f2c52b77bf6596e24aae82e204a0603eba66;p=pandora-kernel.git of: Create of_console_check() for selecting a console specified in /chosen The devicetree has a binding for specifying the console device in the /chosen node, but the kernel doesn't use it consistently. This change adds an API for testing if a device node is a console, and adds a preferred console entry if it is. At the same time this patch removes the of_device_is_stdout_path() API since it is unused. Signed-off-by: Grant Likely Tested-by: Sascha Hauer --- Reading git-diff-tree failed