-
Notifications
You must be signed in to change notification settings - Fork 8.2k
drivers: adc: Place API into iterable section #72292
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
5c7da92 to
93f2f50
Compare
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
7857c58 to
7ebb9c9
Compare
Do not update the ref_internal value in the API structure. Signed-off-by: Pieter De Gendt <[email protected]>
7ebb9c9 to
4af2ced
Compare
bfa663b to
66ffff8
Compare
Move all adc driver api structs into an iterable section, this allows us to verify if an api pointer is located in compatible linker section. Signed-off-by: Pieter De Gendt <[email protected]>
Add a test case where CONFIG_CMAKE_LINKER_GENERATOR is enabled. Signed-off-by: Pieter De Gendt <[email protected]>
Add a migration entry for the device driver API change, and start listing driver classes that have been updated in-tree. Signed-off-by: Pieter De Gendt <[email protected]>
66ffff8 to
add5ec0
Compare
| The :c:macro:`DEVICE_API()` macro should be used by out-of-tree driver implementations for | ||
| the following driver classes: | ||
|
|
||
| * :c:struct:`adc_driver_api` |
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.
Wouldn't it be better to do this in a separate PR for all modified driver classes after the corresponding PRs are merged?
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.
Was going to do it in a follow-up to add the other entries.
Move all adc driver api structs into an iterable section.
Depends on #71773