From patchwork Mon Jun 20 15:43:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9187829 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7D76F6075F for ; Mon, 20 Jun 2016 15:42:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C7DC23B23 for ; Mon, 20 Jun 2016 15:42:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 609E82793B; Mon, 20 Jun 2016 15:42:54 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E328D23B23 for ; Mon, 20 Jun 2016 15:42:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754578AbcFTPmx (ORCPT ); Mon, 20 Jun 2016 11:42:53 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:53152 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751970AbcFTPmt (ORCPT ); Mon, 20 Jun 2016 11:42:49 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue001) with ESMTPA (Nemesis) id 0MazIw-1avpWE12U6-00KSwN; Mon, 20 Jun 2016 17:41:44 +0200 From: Arnd Bergmann To: Simon Horman , Magnus Damm Cc: Geert Uytterhoeven , Sergei Shtylyov , Arnd Bergmann , Michael Turquette , Stephen Boyd , Laurent Pinchart , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: renesas: build clk-rcar-gen2.o for R8A7792 Date: Mon, 20 Jun 2016 17:43:10 +0200 Message-Id: <20160620154341.2242033-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:jrh+C3BbkbkFj0SxJqBzLAtZiaxc7fRk5e5vgR8qKxlze/xH1He pANFw8P/Jyri0zPg9hcVpT5sdbIzLactZFfs6uvDl5I/itykvMykGHMzqbFOyj3lfqwDKV1 tmdEnpU8ikg9aH+TB9NTgo6XBXtgGufXpRtQiD3+nTcwhZjlf4kW8OkHg/9J+ywTn5StYOo AKX6MnDEdYDb1wifDV0Kw== X-UI-Out-Filterresults: notjunk:1; V01:K0:ZHyQ+ZBs0ZA=:WiKEjFZ7bMqjr2Naa3T76s ftDlM960MIVUP4nDANIT1cSyhbN3sVqVvzJEg5/KQcQOcZF9LZQd0xTZQ5EPXIzx0MVpnXB7k iMQeaB/xiDu4aqs2Iv6Obqmyvx9VofaHy52A4YM/XZzhHvjjV+7legTGKONYHrhgqeFkUGnG8 otIKc6503T396oL4PztcYMKGo2mCu+ZXbrT1IiL/8xdYbM3r1HhViKgXJm92zU/Wcpq04TalC vI1goa2MLI7FGcftVhUkWBgc7ABArCCkgsIamuVssh67uPNau3S9uOyal2f9NN9+Ud71SnKXp RzUfwXpOYxqAn+NMLQz30hNVsVA6iYnD0KuNIQtulNATLWcP8CgEcx2F1pdWR38DgOu4xZSge j+Y6xCN+AamMQtCjHk8ODzPv4QyIF21E+jRa8ayZQFOnX+TyGqfaeG1QrrH7uUbtI3Tg+Ezdd zvPPQ9csdhVvfjKOchCO1V1NtosJ6FU300vEWH6mR7ZVyAX0E1beDqaf26gjHCa7SX0G/6aLQ NJTByHwn+4gAnMxanvuT9k2lDqSsRauI90onCSFDuJQykMpNv1ayZHk8GlIBv3PsYlWZKIxoc KLurbF7JvFBqzECCJIsKGH48HVko1IBxzre0vuphZgBFSKq9h3x08i+Jv/19PHlwW+/MVLY37 gJ9dnVWHql82hp+Hon8VY+vmj9jVRbAbcBs11yUG0kd1CmKZqKzjB4Jani9wNAjRrt0Q= Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The newly added support for R8A7792 causes build failures because we try to call rcar_gen2_clocks_init but that is not built into the kernel: arch/arm/mach-shmobile/built-in.o: In function `rcar_gen2_timer_init': :(.init.text+0x3b0): undefined reference to `rcar_gen2_clocks_init' This changes the clk Makefile to match the other platforms, though I guess it would be better to find another way to do this, e.g. by not requiring the external function call by relying on CLK_OF_DECLARE(), or by making the ARCH_RCAR_GEN2 also control the compilation of the clk driver. Signed-off-by: Arnd Bergmann Fixes: 3ebee0adbfe7 ("ARM: shmobile: r8a7792: basic SoC support") --- drivers/clk/renesas/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/Makefile b/drivers/clk/renesas/Makefile index ead8bb843524..3cdb9aaf8717 100644 --- a/drivers/clk/renesas/Makefile +++ b/drivers/clk/renesas/Makefile @@ -6,6 +6,7 @@ obj-$(CONFIG_ARCH_R8A7778) += clk-r8a7778.o obj-$(CONFIG_ARCH_R8A7779) += clk-r8a7779.o obj-$(CONFIG_ARCH_R8A7790) += clk-rcar-gen2.o clk-div6.o obj-$(CONFIG_ARCH_R8A7791) += clk-rcar-gen2.o clk-div6.o +obj-$(CONFIG_ARCH_R8A7792) += clk-rcar-gen2.o obj-$(CONFIG_ARCH_R8A7793) += clk-rcar-gen2.o clk-div6.o obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o clk-div6.o obj-$(CONFIG_ARCH_R8A7795) += r8a7795-cpg-mssr.o