plat-nomadik: fix compilation warning
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Feb 2011 09:37:52 +0000 (10:37 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Mar 2011 13:05:16 +0000 (14:05 +0100)
commit3c4bee04d147f149a167633cf0033f9d25a8d720
tree11ffba9a7666ead117cf71da6f604fe1860528a9
parent5317e4d11d1ce4db949f207aaebe09b7d0d76b5f
plat-nomadik: fix compilation warning

The compiler warns that [rf]wimsc may be used uninitialized in
this function - the warning is actually false since the uses are
in identical if()-clauses, but it can't hurt very much to read
out the values to be modified early anyway and rid the warning.

Cc: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/plat-nomadik/gpio.c