Skip to content
Snippets Groups Projects
Commit 73443b9e authored by Mugunthan V N's avatar Mugunthan V N Committed by Joe Hershberger
Browse files

drivers: core: device: add support to check dt compatible for a device/machine


Provide an api to check whether the given device or machine is
compatible with the given compat string which helps in making
decisions in drivers based on device or machine compatible.

Idea taken from Linux.

Signed-off-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Joe Hershberger's avatarJoe Hershberger <joe.hershberger@ni.com>
parent 24ae3961
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment