Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c1b6d380 authored by Grant Likely's avatar Grant Likely
Browse files

of/device: Protect against binding of_platform_drivers to non-OF devices



There is an unlikely chance of this situation is occurring, but it is
easy to protect against.  If a matching entry cannot be found in the
of_match_table, then don't bind the driver.

Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 29596042
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment