[PATCH] arm/tegra: Fix build error with tegra_assert_system_reset

Stephen Warren swarren at nvidia.com
Wed Nov 23 11:59:48 EST 2011


Russell King wrote at Wednesday, November 23, 2011 2:50 AM:
> On Tue, Nov 22, 2011 at 05:53:51PM -0700, Stephen Warren wrote:
> > Build error:
> >
> > error: static declaration of 'tegra_assert_system_reset' follows non-static
> > declaration
> >
> > Fix:
> >
> > Remove the non-static declaration; the function should be local now.
> >
> > Signed-off-by: Stephen Warren <swarren at nvidia.com>
> 
> Thanks Stephen.  I'd prefer to fix this a different way, moving tegra to
> use the .restart method instead.  So, I'm about to merge this into the
> commit which created your error.
> ...

OK, I tested that and it works too.

Thanks!

-- 
nvpublic




More information about the linux-arm-kernel mailing list