Home
last modified time | relevance | path

Searched hist:"411 e689d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/sysdev/
H A Dmmio_nvram.c411e689d Thu Apr 14 17:32:00 CDT 2011 Benjamin Herrenschmidt <benh@kernel.crashing.org> 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 <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
411e689d Thu Apr 14 17:32:00 CDT 2011 Benjamin Herrenschmidt <benh@kernel.crashing.org> 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 <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>