Skip to content
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

Fix Odroid C4 compiling on newer compilers #71

Open
wants to merge 2 commits into
base: odroidg12-v2015.01
Choose a base branch
from

Conversation

matwey
Copy link
Contributor

@matwey matwey commented Mar 19, 2021

Hello,

This patch set is to enable odroidc4 build for GCC 7 and later. Note, that these changes don't prevent using older versions of the compiler.

trini and others added 2 commits March 19, 2021 19:09
Copy these from Linux v4.5-rc6 tag.

This is needed so that we can keep up with newer gcc versions.  Note
that we don't have the uapi/ hierarchy from the kernel so continue to
use <linux/types.h>

Signed-off-by: Tom Rini <[email protected]>
(cherry picked from commit 9b2c282)
Modern gcc triggers a error in this place:

    error: initializer element is not a constant expression [-Werror=pedantic]

Signed-off-by: Matwey V. Kornilov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants