of_fdt_is_compatible — Check if node matches a compatible value
int of_fdt_is_compatible ( | const void * blob, |
unsigned long node, | |
const char * compat) ; |
blob
Pointer to device tree blob (flattened device tree)
node
Node offset in blob
compat
Pointer to compatible string
Note that the score is the opposite of of_device_is_compatible
, which
reports larger scores as more compatible.