of/sparc: move is_root_node() to of.h
authorAndres Salomon <dilinger@queued.net>
Tue, 13 Jul 2010 09:42:26 +0000 (09:42 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 14 Jul 2010 23:08:03 +0000 (17:08 -0600)
commit035ebefc737cce56d3938e9b7eaa5ac0e9c28715
tree37593760f4411ec3d3db9b46e2b9a21255624549
parentef2a4524d6e776bbce819eeccbdcaeee5ce74027
of/sparc: move is_root_node() to of.h

Rename is_root_node() to of_node_is_root() and make it available for
all archs to use, as it's not PROM-specific.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/sparc/kernel/prom.h
arch/sparc/kernel/prom_64.c
arch/sparc/kernel/prom_common.c
include/linux/of.h