Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:scripts\dtc\libfdt\fdt_ro.c Create Date:2022-07-28 06:18:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fdt_node_check_compatible

Proto:int fdt_node_check_compatible(const void *fdt, int nodeoffset, const char *compatible)

Type:int

Parameter:

TypeParameterName
const void *fdt
intnodeoffset
const char *compatible
804  prop = fdt_getprop(fdt, nodeoffset, "compatible", & len)
805  If Not prop Then Return len
808  Return Not fdt_stringlist_contains(prop, len, compatible)