\r
uint32_t fdt_get_phandle(const void *fdt, int nodeoffset)\r
{\r
- const uint32_t *php;\r
+ const fdt32_t *php;\r
int len;\r
\r
/* FIXME: This is a bit sub-optimal, since we potentially scan\r
return offset; /* error from fdt_next_node() */\r
}\r
\r
-static int _fdt_stringlist_contains(const char *strlist, int listlen,\r
- const char *str)\r
+int fdt_stringlist_contains(const char *strlist, int listlen, const char *str)\r
{\r
int len = strlen(str);\r
const char *p;\r
prop = fdt_getprop(fdt, nodeoffset, "compatible", &len);\r
if (!prop)\r
return len;\r
- if (_fdt_stringlist_contains(prop, len, compatible))\r
+ if (fdt_stringlist_contains(prop, len, compatible))\r
return 0;\r
else\r
return 1;\r