From patchwork Wed Jun 1 11:51:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 839722 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p51BqQGW020853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 1 Jun 2011 11:52:47 GMT Received: from canuck.infradead.org ([134.117.69.58]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QRjxq-00037w-Gh; Wed, 01 Jun 2011 11:51:58 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QRjxo-00005E-H5; Wed, 01 Jun 2011 11:51:52 +0000 Received: from s15407518.onlinehome-server.info ([82.165.136.167]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QRjxk-0008W2-PF for linux-arm-kernel@lists.infradead.org; Wed, 01 Jun 2011 11:51:49 +0000 Received: from pd95ceb4b.dip0.t-ipconnect.de ([217.92.235.75] helo=nx4-rtr-0001.kes) by s15407518.onlinehome-server.info with esmtpa (Exim 4.69) (envelope-from ) id 1QRjxi-0006vL-2G; Wed, 01 Jun 2011 13:51:46 +0200 Received: from nx4-deb-0001.local ([192.168.30.162] helo=nx4-deb-0001.localnet) by nx4-rtr-0001.kes with esmtp (Exim 4.69) (envelope-from ) id 1QRjxb-0001mw-HN; Wed, 01 Jun 2011 13:51:40 +0200 From: Heiko =?iso-8859-1?q?St=FCbner?= To: Kukjin Kim Subject: [PATCH 2/3] Move s3c24xx_irq_syscore_ops to plat-s3c24xx/irq.c Date: Wed, 1 Jun 2011 13:51:33 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.32-5-686; KDE/4.4.4; i686; ; ) References: <201106011348.47145.heiko@sntech.de> In-Reply-To: <201106011348.47145.heiko@sntech.de> MIME-Version: 1.0 Message-Id: <201106011351.36862.heiko@sntech.de> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110601_075148_981060_05FED76A X-CRM114-Status: GOOD ( 10.08 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- Cc: rjw@sisk.pl, linux-samsung-soc@vger.kernel.org, Heiko =?iso-8859-1?q?St=FCbner?= , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Jun 2011 11:52:48 +0000 (UTC) s3c24xx_irq_syscore_ops was only defined for s3c2410 cpus leading to compile errors on for example 2412 and 2416. --- arch/arm/mach-s3c2410/irq.c | 5 ----- arch/arm/plat-s3c24xx/irq.c | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-s3c2410/irq.c b/arch/arm/mach-s3c2410/irq.c index 2854129..4428695 100644 --- a/arch/arm/mach-s3c2410/irq.c +++ b/arch/arm/mach-s3c2410/irq.c @@ -27,8 +27,3 @@ #include #include - -struct syscore_ops s3c24xx_irq_syscore_ops = { - .suspend = s3c24xx_irq_suspend, - .resume = s3c24xx_irq_resume, -}; diff --git a/arch/arm/plat-s3c24xx/irq.c b/arch/arm/plat-s3c24xx/irq.c index 9aee7e1..fc8c5f8 100644 --- a/arch/arm/plat-s3c24xx/irq.c +++ b/arch/arm/plat-s3c24xx/irq.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include @@ -668,3 +669,8 @@ void __init s3c24xx_init_irq(void) irqdbf("s3c2410: registered interrupt handlers\n"); } + +struct syscore_ops s3c24xx_irq_syscore_ops = { + .suspend = s3c24xx_irq_suspend, + .resume = s3c24xx_irq_resume, +};