[PATCH 03/20] powerpc/47x: Use pm_power_off rather than ppc_md.power_off

Segher Boessenkool segher at kernel.crashing.org
Sun Oct 5 11:39:25 EST 2014


On Wed, Oct 01, 2014 at 03:27:49PM +0200, Alexander Graf wrote:
> diff --git a/arch/powerpc/platforms/44x/ppc476.c b/arch/powerpc/platforms/44x/ppc476.c
> index 33986c1..7027015 100644
> --- a/arch/powerpc/platforms/44x/ppc476.c
> +++ b/arch/powerpc/platforms/44x/ppc476.c
> @@ -94,7 +94,7 @@ static int avr_probe(struct i2c_client *client,
>  {
>  	avr_i2c_client = client;
>  	ppc_md.restart = avr_reset_system;
> -	ppc_md.power_off = avr_power_off_system;
> +	pm_power_off = avr_power_off_system
>  	return 0;
>  }

That doesn't compile afaics?


Segher


More information about the Linuxppc-dev mailing list