From patchwork Mon Jul 13 06:15:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 6774401 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6577F9F380 for ; Mon, 13 Jul 2015 06:12:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7A89D205F9 for ; Mon, 13 Jul 2015 06:12:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 92652205F3 for ; Mon, 13 Jul 2015 06:12:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751180AbbGMGMT (ORCPT ); Mon, 13 Jul 2015 02:12:19 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:36148 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751114AbbGMGMS (ORCPT ); Mon, 13 Jul 2015 02:12:18 -0400 Received: by pdjr16 with SMTP id r16so57090167pdj.3 for ; Sun, 12 Jul 2015 23:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=eCtlj2Vu4PVhVdgjReuNAXRb9vc+jMUjMNXTkZ53mdA=; b=A9e+TxRCqjMpmACSusxIkiezQ9IhBrCOR4EGDze3sRKjmHCqs0mZrcvlB50uVePzyh wy1DACHV4PzMDtOEI9awdJaYImWsIJBjf+IrWAoqk9cspIJcOedEhQEGmote2sXbiGeW UsWzzCa6nVtGOeitOLQjrZsTrlU1i9QGzV/fOMDA5i1WOjnc1aPCIG8IbtB/hINR/mVz IvbVZGSlircSjXNVXvxk/3BBWoTVyvCn4UCwA9NSQCLSJINRe99wgf2HBHmyvOEgKj88 xqmSLi9lxptA0wxhnlki/xO38K2FWr5LET42TeJaIK1RW7k9ZxFUHGxpVtmD0g608OHy ZNSA== X-Received: by 10.70.6.161 with SMTP id c1mr65846345pda.76.1436767938452; Sun, 12 Jul 2015 23:12:18 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id zx1sm17057903pbb.73.2015.07.12.23.12.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Jul 2015 23:12:17 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be Date: Mon, 13 Jul 2015 15:15:33 +0900 Message-Id: <20150713061533.25534.59533.sendpatchset@little-apple> In-Reply-To: <20150713061450.25534.96315.sendpatchset@little-apple> References: <20150713061450.25534.96315.sendpatchset@little-apple> Subject: [PATCH v3 04/04] ARM: shmobile: r8a7779: Cleanup header file Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Remove unused function prototypes from r8a7779.h and make the functions static. Signed-off-by: Magnus Damm Acked-by: Geert Uytterhoeven --- Changes since V2: - None arch/arm/mach-shmobile/clock-r8a7779.c | 2 +- arch/arm/mach-shmobile/r8a7779.h | 2 -- arch/arm/mach-shmobile/setup-r8a7779.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/arm/mach-shmobile/clock-r8a7779.c +++ work/arch/arm/mach-shmobile/clock-r8a7779.c 2015-07-13 15:13:00.452366518 +0900 @@ -201,7 +201,7 @@ static struct clk_lookup lookups[] = { CLKDEV_DEV_ID("rcar-du-r8a7779", &mstp_clks[MSTP103]), /* DU */ }; -void __init r8a7779_clock_init(void) +static void __init r8a7779_clock_init(void) { u32 mode = r8a7779_read_mode_pins(); int k, ret = 0; --- 0001/arch/arm/mach-shmobile/r8a7779.h +++ work/arch/arm/mach-shmobile/r8a7779.h 2015-07-13 15:13:00.452366518 +0900 @@ -11,7 +11,6 @@ enum { }; extern void r8a7779_init_irq_extpin(int irlm); -extern void r8a7779_init_irq_extpin_dt(int irlm); extern void r8a7779_init_irq_dt(void); extern void r8a7779_map_io(void); extern void r8a7779_earlytimer_init(void); @@ -19,7 +18,6 @@ extern void r8a7779_add_early_devices(vo extern void r8a7779_add_standard_devices(void); extern void r8a7779_init_late(void); extern u32 r8a7779_read_mode_pins(void); -extern void r8a7779_clock_init(void); extern void r8a7779_pinmux_init(void); extern void r8a7779_pm_init(void); extern void r8a7779_register_twd(void); --- 0002/arch/arm/mach-shmobile/setup-r8a7779.c +++ work/arch/arm/mach-shmobile/setup-r8a7779.c 2015-07-13 15:13:00.452366518 +0900 @@ -99,7 +99,7 @@ static struct resource irqpin0_resources DEFINE_RES_IRQ(gic_spi(30)), /* IRQ3 */ }; -void __init r8a7779_init_irq_extpin_dt(int irlm) +static void __init r8a7779_init_irq_extpin_dt(int irlm) { void __iomem *icr0 = ioremap_nocache(0xfe780000, PAGE_SIZE); u32 tmp;