From: Benjamin Herrenschmidt Date: Thu, 14 Apr 2011 22:32:00 +0000 (+0000) Subject: powerpc/nvram: Search for nvram using compatible X-Git-Tag: v3.0-rc1~385^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=411e689d929d5fc2e9066e30de55e8bcdbd573ad;p=pandora-kernel.git powerpc/nvram: Search for nvram using compatible As well as searching for nodes with type = "nvram", search for nodes that have compatible = "nvram". This can't be converted into a single call to of_find_compatible_node() with a non-NULL type, because that searches for a node that has _both_ type & compatible = "nvram". Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed