-
Notifications
You must be signed in to change notification settings - Fork 8.4k
devicetree: Add DT_HAS_ALIAS macro
#80511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Good suggestion, I'll change. |
bjarki-andreasen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :)
kartben
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dkalowsk not sure this qualifies as a bug fix for 4.0? :) To put it differently, I think some reviewers (speaking for myself at least) are expecting to be able to spend less time reviewing new features (albeit small-ish in this case) over the next couple weeks to focus on docs, bug fixes etc. and there is a good chance that these last minute additions will not get as many eyeballs on them as they typically would.
db99ac1
|
If there are no other issues, after merging this PR, I will modify the rst tag in the documentation regarding device tree errors. |
@kartben normally I'd agree. This looks like the addition of a shortcut for a common DT macro mess. That said, it wasn't merged by the time RC2 was cut and thus it now needs an issue attached to it for merging, so moving this to 4.1. |
Add 'DT_HAS_ALIAS' macro to verify node alias existence. Signed-off-by: James Roy <[email protected]>
Add 'DT_HAS_ALIAS' macro to verify node alias existence.
for example