[PATCH] amba-pl022: fixing compilation warning.

2011-01-13 Thread Viresh Kumar
clk_freq is used uninitialized in pl022_setup routine. This patch fix compilation warning for using uninitialized variable Signed-off-by: Viresh Kumar viresh.ku...@st.com --- drivers/spi/amba-pl022.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] amba-pl022: fixing compilation warning.

2011-01-13 Thread Linus Walleij
On 01/13/2011 12:54 PM, Viresh KUMAR wrote: clk_freq is used uninitialized in pl022_setup routine. This patch fix compilation warning for using uninitialized variable Signed-off-by: Viresh Kumarviresh.ku...@st.com Excellent Viresh, thanks! Acked-by: Linus Walleij