Fix clang build#2870
Merged
Merged
Conversation
As it turns out, -Wold-style-declaration does not exist for clang which will cause compiling with it to fail. Therefore, only do the warning hack in case we're building with GCC. Fixes: 789db64 ("iio: adc: fix -Wmissing-prototypes") Signed-off-by: Nuno Sá <nuno.sa@analog.com>
5b9fdb5 to
44137d2
Compare
gastmaier
approved these changes
Aug 1, 2025
Collaborator
gastmaier
left a comment
There was a problem hiding this comment.
In favor of
Documentation/devicetree/bindings/iio/adc/adi%2Cad4000.yaml
mhennerich
approved these changes
Aug 1, 2025
We already have a proper .yaml binding for adf4350 and the ad400x driver was also dropped (in favor of the upstream ad4000) so that let's also drop the bindings for it. Signed-off-by: Nuno Sá <nuno.sa@analog.com>
44137d2 to
34c09f7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description
Remove some older bindings files and fix compilation for clang.
PR Type
PR Checklist