]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit9260191e9f01e00f06572ef2b0c387a1fb8f9bd9
tree236d32bbb1cb03cd82e394bc2d6f6d3794c727e0
parent8975484535dc35670c50b6f5f6919637a2d9adaa
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