Skip to content
Snippets Groups Projects
Commit 97fbf26d authored by Thomas Schäfer's avatar Thomas Schäfer Committed by York Sun
Browse files

drivers: ddr: fsl: fix unused-const-variable warnings


Depending on DDR configuration, gcc-6.x will show up unused-const-
variable messages. Use __maybe_unused specifier for all dynamic_odt
variable definitions to remove these warnings.

Memory footprint will not increase as gcc will optimize out unused
constants.

Signed-off-by: default avatarThomas Schaefer <thomas.schaefer@kontron.com>
Signed-off-by: default avatarYork Sun <york.sun@nxp.com>
parent 3fea9536
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment