[PATCH 21/21] fbdev: fsl-diu: get cpu node with of_get_cpu_node
Timur Tabi
timur at kernel.org
Tue Sep 11 03:34:10 UTC 2018
On 9/5/18 2:37 PM, Rob Herring wrote:
> #ifdef CONFIG_NOT_COHERENT_CACHE
> - np = of_find_node_by_type(NULL, "cpu");
> + np = of_get_cpu_node(0, NULL);
This #ifdef means that it's only compiled on an MPC5121, which is a very
dead platform. of_get_cpu_node() looks okay to me, but I'm going to
have to assume that you know what you're doing.
Acked-by: Timur Tabi <timur at kernel.org>
More information about the dri-devel
mailing list