From patchwork Mon Apr 18 10:12:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralf Baechle X-Patchwork-Id: 714721 Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3IAHsmQ028888 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 18 Apr 2011 10:18:15 GMT Received: from daredevil.linux-foundation.org (localhost [127.0.0.1]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p3IAEvou030383; Mon, 18 Apr 2011 03:15:27 -0700 Received: from duck.linux-mips.net (h5.dl5rb.org.uk [81.2.74.5]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p3IAEIMT030368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 18 Apr 2011 03:14:22 -0700 Received: from duck.linux-mips.net (duck.linux-mips.net [127.0.0.1]) by duck.linux-mips.net (8.14.4/8.14.3) with ESMTP id p3IACNJm004163; Mon, 18 Apr 2011 11:12:23 +0100 Received: (from ralf@localhost) by duck.linux-mips.net (8.14.4/8.14.4/Submit) id p3IACI5s004157; Mon, 18 Apr 2011 11:12:18 +0100 Date: Mon, 18 Apr 2011 11:12:18 +0100 From: Ralf Baechle To: "Rafael J. Wysocki" Message-ID: <20110418101218.GA25325@linux-mips.org> References: <201103280125.11750.rjw@sisk.pl> <201104172301.54115.rjw@sisk.pl> <201104172312.35060.rjw@sisk.pl> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201104172312.35060.rjw@sisk.pl> User-Agent: Mutt/1.5.21 (2010-09-15) Received-SPF: pass (localhost is always allowed.) X-Spam-Status: No, hits=-4.393 required=5 tests=AWL, BAYES_00, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.21 Cc: Guan Xuetao , Russell King , Konrad Rzeszutek Wilk , Greg KH , LKML , Jeremy Fitzhardinge , Ben Dooks , Jiri Kosina , Kay Sievers , Mike Frysinger , Linux PM mailing list , linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Hans-Christian Egtvedt , linux-arm-kernel@lists.infradead.org Subject: Re: [linux-pm] [PATCH 10/14] PM / MIPS: Use struct syscore_ops instead of sysdevs for PM X-BeenThere: linux-pm@lists.linux-foundation.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux power management List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 18 Apr 2011 10:18:15 +0000 (UTC) This patch breaks the Alchemy kernel compile; below patch on top of it fixes that again. Signed-off-by: Ralf Baechle --- arch/mips/alchemy/common/irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-mips/arch/mips/alchemy/common/irq.c =================================================================== --- linux-mips.orig/arch/mips/alchemy/common/irq.c +++ linux-mips/arch/mips/alchemy/common/irq.c @@ -619,8 +619,8 @@ static struct syscore_ops alchemy_ic_sys static int __init alchemy_ic_syscore_init(void) { - alchemy_ic_data[0].base = ioremap(icbase[IC0_PHYS_ADDR], 0x1000); - alchemy_ic_data[1].base = ioremap(icbase[IC1_PHYS_ADDR], 0x1000); + alchemy_ic_data[0].base = ioremap(IC0_PHYS_ADDR, 0x1000); + alchemy_ic_data[1].base = ioremap(IC1_PHYS_ADDR, 0x1000); register_syscore_ops(&alchemy_ic_syscore_ops);