]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/of: Fix sparc build failure caused by of_alias_scan
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 4 Aug 2011 06:26:10 +0000 (07:26 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 4 Aug 2011 06:26:10 +0000 (07:26 +0100)
commit79787f21b37b2cd359689384239bc5385aef9298
tree032569911ad873ca89b81228c6d344028c5e825f
parent750f463a749e28464151ad26938d11b07b1c43cb
drivers/of: Fix sparc build failure caused by of_alias_scan

Commit 750f463a, "dt: add of_alias_scan and of_alias_get_id" breaks
platforms that don't use CONFIG_OF_FLATTREE, like SPARC and OLPC.  Fix
it by only building it on platforms using the flat tree.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/base.c