X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fppc%2Ftumbler.c;h=5821cdd0bec9c224ac50d63d544e59ec73dfe816;hb=1b21f458ddbc8fb6fceeb68158e9e04b2571dabd;hp=54e333fbb1d06e0710cb7a1ece09eccd2bb416d5;hpb=ded1504dfa0083661fdd1a0a5f021cb7313ffe04;p=linux-2.6 diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c index 54e333fbb1..5821cdd0be 100644 --- a/sound/ppc/tumbler.c +++ b/sound/ppc/tumbler.c @@ -1060,7 +1060,7 @@ static struct device_node *find_compatible_audio_device(const char *name) for (np = of_get_next_child(gpiop, NULL); np; np = of_get_next_child(gpiop, np)) { - if (device_is_compatible(np, name)) + if (of_device_is_compatible(np, name)) break; } of_node_put(gpiop);