X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fppc%2Ftumbler.c;h=5821cdd0bec9c224ac50d63d544e59ec73dfe816;hb=0b662c64840fb281e5948ab6f9d60f84817277d0;hp=54e333fbb1d06e0710cb7a1ece09eccd2bb416d5;hpb=e0cc09e295f346b7921e921f385fe5213472316a;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);