summaryrefslogtreecommitdiff
path: root/io_uring/openclose.h
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>2023-08-29 00:13:11 +0300
committerRob Herring <robh@kernel.org>2023-09-20 22:25:10 +0300
commit365ba0c7a73cce407bf40cdf9900b86b945d4acb (patch)
tree36862dd349aabe419eef0f709fcdb1a88d39ecd1 /io_uring/openclose.h
parenteb2139fc0da63b89a2ad565ecd8133a37e8b7c4f (diff)
downloadlinux-365ba0c7a73cce407bf40cdf9900b86b945d4acb.tar.xz
dt: dt-extract-compatibles: Add flag for driver matching compatibles
Add a new flag, '--driver-match', to the dt-extract-compatibles script that causes it to only print out compatibles that are expected to match a driver. This output can then be used by tests to detect device probe failures. In order to filter the compatibles down to only ones that will match to a driver, the following is considered: - A compatible needs to show up in a driver's of_match_table for it to be matched to a driver - Compatibles that are used in both of_match_table and OF_DECLARE type macros can't be expected to match to a driver and so are ignored. One exception is CLK_OF_DECLARE_DRIVER, since it indicates that a driver will also later probe, so compatibles in this macro are not ignored. Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Link: https://lore.kernel.org/r/20230828211424.2964562-3-nfraprado@collabora.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'io_uring/openclose.h')
0 files changed, 0 insertions, 0 deletions