dt/device: Fix auxdata matching to handle entries without a name override
authorGrant Likely <grant.likely@secretlab.ca>
Mon, 12 Dec 2011 16:26:00 +0000 (09:26 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 12 Dec 2011 21:41:45 +0000 (14:41 -0700)
commitf88e1ae8acb8affac29034ed79d4fff95ac8c29d
tree9cf86d756358df4b48dfd09b8c8820a887077a71
parentdc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50
dt/device: Fix auxdata matching to handle entries without a name override

There is no requirement to override name entries in auxdata.  Fix the
entry matching to use .compatible instead of .name to find the end of the
list.

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