From patchwork Thu Dec 13 12:33:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Zabel X-Patchwork-Id: 10728593 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F05F914E2 for ; Thu, 13 Dec 2018 12:34:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E098529BB4 for ; Thu, 13 Dec 2018 12:34:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF0C02C06A; Thu, 13 Dec 2018 12:34:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6A95B29BB4 for ; Thu, 13 Dec 2018 12:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Ax3bkW0udhj4SFrpiie9unKnL7hLUP+l9DcA3IG4TIg=; b=tnV2BgXX5oVBzL KDzA2lp8lgo68KAE2E3Wdo0nIXq49+h475Ht0HGgF+K24LcwkH/224MCvcCsIZJ+b/WfcM11JkHqY bT6U/IZ2lhOXj/WMdNTnuyQXfVl/8KR2+URhCygENjllRnHEfm3MFB4RdKcLKZ6X8X2kG+DoWz3YT YXZ5LW1CeZHLLpcNt2PP/c1Cq4AMS1QFfH6i3XUU94MxIZoJOtuFkIfIdzxFttqsXLFKPQhgC3ZBy 6M679FApgi3cJrR1+Ni7TteCYdMkkeeWZ7BcZkH0GUQIvHKmdrYeyrgFsdaaX9MyzntSfx9LIXKJQ Oub+6UBtkHFom7PiS2LA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXQCL-0001RM-MW; Thu, 13 Dec 2018 12:34:37 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXQCI-0001GL-8z for linux-arm-kernel@lists.infradead.org; Thu, 13 Dec 2018 12:34:35 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1gXQBv-0005iT-Cy; Thu, 13 Dec 2018 13:34:11 +0100 From: Philipp Zabel To: Dinh Nguyen , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH 0/2] reset: socfpga, sunxi: declare _reset_init functions in header files Date: Thu, 13 Dec 2018 13:33:56 +0100 Message-Id: <20181213123358.24391-1-p.zabel@pengutronix.de> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181213_043434_477892_C7F11F82 X-CRM114-Status: GOOD ( 11.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olof Johansson , Stephen Rothwell , linux-kernel@vger.kernel.org, Arnd Bergmann , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, this moves the socpfga_reset_init function declaration into a header file that is included by both mach-socfpga and reset-socfpga code, as suggested by Stephen. The second patch does the same for sun6i_reset_init. Since the socfpga patch avoids a (trivial) merge conflict with the arm-soc tree, I'd like to apply this to the reset/next branch before sending a pull request. regards Philipp Philipp Zabel (2): reset: sunxi: declare sun6i_reset_init in a header file reset: socfpga: declare socfpga_reset_init in a header file arch/arm/mach-socfpga/socfpga.c | 3 +-- arch/arm/mach-sunxi/sunxi.c | 2 +- drivers/reset/reset-socfpga.c | 2 +- drivers/reset/reset-sunxi.c | 1 + include/linux/reset/socfpga.h | 7 +++++++ include/linux/reset/sunxi.h | 7 +++++++ 6 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 include/linux/reset/socfpga.h create mode 100644 include/linux/reset/sunxi.h