[PATCH] powerpc/85xx: Get twr_p102x to compile again

Scott Wood oss at buserror.net
Fri Dec 20 10:53:42 AEDT 2019


On Thu, 2019-12-19 at 16:16 +0100, Sebastian Andrzej Siewior wrote:
> With CONFIG_QUICC_ENGINE enabled and CONFIG_UCC_GETH + CONFIG_SERIAL_QE
> disabled we have an unused variable (np). The code won't compile with
> -Werror.
> 
> Move the np variable to the block where it is actually used.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
> ---
>  arch/powerpc/platforms/85xx/twr_p102x.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

Acked-by: Scott Wood <oss at buserror.net>

-Scott




More information about the Linuxppc-dev mailing list