Skip to content

Conversation

rdrjr
Copy link
Collaborator

@rdrjr rdrjr commented Mar 10, 2020

When building for other MACH types, the other
CONFIG_MACH_* definitions will not be set so
the driver is unaware of their existence.
Instead of using them directly in a runtime
check, switch to using an integer that gets set
during compilation and is then defined 100% of
the time during operation.

Signed-off-by: Russell Robinson rrobinson@phytec.com

When building for other MACH types, the other
CONFIG_MACH_* definitions will not be set so
the driver is unaware of their existence.
Instead of using them directly in a runtime
check, switch to using an integer that gets set
during compilation and is then defined 100% of
the time during operation.

Signed-off-by: Russell Robinson <rrobinson@phytec.com>
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.

1 participant