From patchwork Fri Jan 7 03:02:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 462261 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p072wCIA031069 for ; Fri, 7 Jan 2011 02:58:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755426Ab1AGC6N (ORCPT ); Thu, 6 Jan 2011 21:58:13 -0500 Received: from mail-pv0-f174.google.com ([74.125.83.174]:34234 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755491Ab1AGC6M (ORCPT ); Thu, 6 Jan 2011 21:58:12 -0500 Received: by mail-pv0-f174.google.com with SMTP id 4so2995904pva.19 for ; Thu, 06 Jan 2011 18:58:12 -0800 (PST) Received: by 10.143.45.8 with SMTP id x8mr1316297wfj.235.1294369091991; Thu, 06 Jan 2011 18:58:11 -0800 (PST) Received: from chimagu (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id b11sm1973369wff.9.2011.01.06.18.58.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 Jan 2011 18:58:11 -0800 (PST) Received: from iwamatsu by chimagu with local (Exim 4.72) (envelope-from ) id 1Pb2an-000149-PK; Fri, 07 Jan 2011 12:02:17 +0900 From: Nobuhiro Iwamatsu To: linux-sh@vger.kernel.org Cc: Nobuhiro Iwamatsu Subject: [PATCH 3/5] sh: Move init_landisk_IRQ to header file Date: Fri, 7 Jan 2011 12:02:13 +0900 Message-Id: <1294369335-4064-3-git-send-email-iwamatsu@nigauri.org> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1294369335-4064-1-git-send-email-iwamatsu@nigauri.org> References: <1294369335-4064-1-git-send-email-iwamatsu@nigauri.org> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 07 Jan 2011 02:58:13 +0000 (UTC) diff --git a/arch/sh/boards/mach-landisk/setup.c b/arch/sh/boards/mach-landisk/setup.c index 50337acc..c693121 100644 --- a/arch/sh/boards/mach-landisk/setup.c +++ b/arch/sh/boards/mach-landisk/setup.c @@ -21,8 +21,6 @@ #include #include -void init_landisk_IRQ(void); - static void landisk_power_off(void) { __raw_writeb(0x01, PA_SHUTDOWN); diff --git a/arch/sh/include/mach-landisk/mach/iodata_landisk.h b/arch/sh/include/mach-landisk/mach/iodata_landisk.h index 8b40485..f432773 100644 --- a/arch/sh/include/mach-landisk/mach/iodata_landisk.h +++ b/arch/sh/include/mach-landisk/mach/iodata_landisk.h @@ -2,7 +2,7 @@ #define __ASM_SH_IODATA_LANDISK_H /* - * linux/include/asm-sh/landisk/iodata_landisk.h + * arch/sh/include/mach-landisk/mach/iodata_landisk.h * * Copyright (C) 2000 Atom Create Engineering Co., Ltd. * @@ -35,6 +35,8 @@ #define IRQ_BUTTON 12 /* USL-5P Button IRQ */ #define IRQ_FAULT 13 /* USL-5P Fault IRQ */ +void init_landisk_IRQ(void); + #define __IO_PREFIX landisk #include