diff options
| author | Sakari Ailus <[email protected]> | 2021-12-01 12:59:33 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-12-17 17:41:29 +0000 |
| commit | c87b8fc569667610b4891cad1e4a663e5a94d8f8 (patch) | |
| tree | 990e02b4cb0640f4e6deed740025f5906c403e83 /tools/bpf/bpftool/prog.c | |
| parent | Documentation: ACPI: Update references (diff) | |
| download | kernel-c87b8fc569667610b4891cad1e4a663e5a94d8f8.tar.gz kernel-c87b8fc569667610b4891cad1e4a663e5a94d8f8.zip | |
device property: Implement fwnode_graph_get_endpoint_count()
Add fwnode_graph_get_endpoint_count() function to provide generic
implementation of of_graph_get_endpoint_count(). The former by default
only counts endpoints to available devices which is consistent with the
rest of the fwnode graph API. By providing FWNODE_GRAPH_DEVICE_DISABLED
flag, also unconnected endpoints and endpoints to disabled devices are
counted.
Signed-off-by: Sakari Ailus <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
