From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 37F1E1A0033 for ; Mon, 6 Oct 2014 21:02:06 +1100 (EST) Message-ID: <54326899.3010005@suse.de> Date: Mon, 06 Oct 2014 12:02:01 +0200 From: Alexander Graf MIME-Version: 1.0 To: Segher Boessenkool Subject: Re: [PATCH 03/20] powerpc/47x: Use pm_power_off rather than ppc_md.power_off References: <1412170086-57971-1-git-send-email-agraf@suse.de> <1412170086-57971-4-git-send-email-agraf@suse.de> <20141005003925.GA26256@gate.crashing.org> In-Reply-To: <20141005003925.GA26256@gate.crashing.org> Content-Type: text/plain; charset=windows-1252 Cc: Arnd Bergmann , Geoff Levand , Alistair Popple , Scott Wood , Anatolij Gustschin , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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