]> err.no Git - linux-2.6/commit
[POWERPC] bootwrapper: Add dt_is_compatible()
authorScott Wood <scottwood@freescale.com>
Mon, 20 Aug 2007 17:39:48 +0000 (03:39 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Aug 2007 05:21:48 +0000 (15:21 +1000)
commita73ac50c4787b1b28d5c94bb18c60352f5dd7d6f
tree8c78ad293d3ee4bb43543e25df348b729832a02c
parent0602801c22ea1767cd0298b11da140bd5cb764d2
[POWERPC] bootwrapper: Add dt_is_compatible()

This can be used rather than doing a simple strcmp, which will fail to
handle multiple compatible entries.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/devtree.c
arch/powerpc/boot/ops.h