drivers: ddr: fsl: fix unused-const-variable warnings
authorThomas Schaefer <thomas.schaefer@kontron.com>
Tue, 28 Mar 2017 18:29:56 +0000 (11:29 -0700)
committerYork Sun <york.sun@nxp.com>
Mon, 17 Apr 2017 16:03:30 +0000 (09:03 -0700)
commit97fbf26d79701431b4dad1d4eae9d9f837b254cb
tree236d32bbb1cb03cd82e394bc2d6f6d3794c727e0
parent3fea95369850987de15a2a0ac009d05e13b90246
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: Thomas Schaefer <thomas.schaefer@kontron.com>
Signed-off-by: York Sun <york.sun@nxp.com>
drivers/ddr/fsl/options.c