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

Alexander Graf agraf at suse.de
Mon Oct 6 21:02:01 EST 2014



On 05.10.14 02:39, Segher Boessenkool wrote:
> 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?

Oops :(. Is there any easy way to test compile all targets?


Alex


More information about the Linuxppc-dev mailing list