ARM: Fix compile error if CONFIG_ARM_UNWIND is not defined

If CONFIG_ARM_UNWIND is not set for some reason, module_finalize()
will not compile due to a missing declaration for 'err'.  Moved
the declaration outside of an #ifdef so that the code will compile
regardless of the value of CONFIG_ARM_UNWIND.

Signed-off-by: Al Stone <ahs3@redhat.com>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
1 file changed