diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-02 21:34:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-02 21:34:03 +0100 |
commit | 115e8e705e4be071b9e06ff72578e3b603f2ba65 (patch) | |
tree | 8ef96f62ed5239442cd55ad54ea5c97b0441e613 /drivers | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
parent | dt/device: Fix auxdata matching to handle entries without a name override (diff) | |
download | linux-115e8e705e4be071b9e06ff72578e3b603f2ba65.tar.xz linux-115e8e705e4be071b9e06ff72578e3b603f2ba65.zip |
Merge branch 'devicetree/merge' of git://git.secretlab.ca/git/linux-2.6
* 'devicetree/merge' of git://git.secretlab.ca/git/linux-2.6:
dt/device: Fix auxdata matching to handle entries without a name override
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/of/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index cbd5d701c7e0..63b3ec48c203 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -314,7 +314,7 @@ static const struct of_dev_auxdata *of_dev_lookup(const struct of_dev_auxdata *l if (!lookup) return NULL; - for(; lookup->name != NULL; lookup++) { + for(; lookup->compatible != NULL; lookup++) { if (!of_device_is_compatible(np, lookup->compatible)) continue; if (of_address_to_resource(np, 0, &res)) |