Skip to content
Snippets Groups Projects
Commit 4349b55b authored by Wills Wang's avatar Wills Wang Committed by Daniel Schwierzeck
Browse files

mips: ath79: ar933x: Avoid warning with gcc5


GCC 5.3 report a warning: 'upper' and 'lower' may be used
uninitialized in this function [-Wmaybe-uninitialized].
Compiler might need explicit initializer.

Signed-off-by: default avatarWills Wang <wills.wang@live.com>
parent 42a3f3e6
Branches
Tags
No related merge requests found
......@@ -268,6 +268,8 @@ void ddr_tap_tuning(void)
dir = 1;
tap = readl(regs + AR71XX_DDR_REG_TAP_CTRL0);
val = tap;
upper = tap;
lower = tap;
while (!done) {
err = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment