FDT_COMPAT_LEN
char compat[FDT_COMPAT_LEN];
if (OF_getprop(node, "compatible", compat, FDT_COMPAT_LEN) < 0)
if (strncasecmp(compat, compatible, FDT_COMPAT_LEN) == 0)
static char fdt_compatible[FDT_COMPAT_LEN];
FDT_COMPAT_LEN, "Compatible platforms");
if (len > 0 && len <= FDT_COMPAT_LEN) {
bzero(fdt_compatible, FDT_COMPAT_LEN);
FDT_COMPAT_LEN);