Re: [RFC PATCH 09/19] powerpc: gamecube/wii: udbg support for usbgecko
From: Albert Herranz <hidden>
Date: 2009-11-25 17:07:29
From: Albert Herranz <hidden>
Date: 2009-11-25 17:07:29
Segher Boessenkool wrote:
quoted
quoted
Surely there is something called something like of_node_is_compatible() you can use here? You already have the node pointer, there is no need to look at all other nodes.I see the point. I didn't find of_node_is_compatible() but I'll look what's available here.int of_device_is_compatible(const struct device_node *device, const char *compat)
Thanks. I'll pick that. Cheers, Albert