From patchwork Thu Nov 24 16:24:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9446045 X-Patchwork-Delegate: geert@linux-m68k.org 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 6E06E6071C for ; Thu, 24 Nov 2016 16:25:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 606B3280D0 for ; Thu, 24 Nov 2016 16:25:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 541A8280FC; Thu, 24 Nov 2016 16:25:02 +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 C4FF4280D0 for ; Thu, 24 Nov 2016 16:25:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757195AbcKXQZB (ORCPT ); Thu, 24 Nov 2016 11:25:01 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:53813 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757134AbcKXQZA (ORCPT ); Thu, 24 Nov 2016 11:25:00 -0500 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.129]) with ESMTPA (Nemesis) id 0LgQz7-1cUivP3mOz-00nxZL; Thu, 24 Nov 2016 17:24:51 +0100 From: Arnd Bergmann To: Michael Turquette , Stephen Boyd Cc: Arnd Bergmann , Geert Uytterhoeven , Sergei Shtylyov , Laurent Pinchart , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: renesas: cpg_mstp: build for R8A774{3,5} Date: Thu, 24 Nov 2016 17:24:31 +0100 Message-Id: <20161124162448.3761610-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:IdbVg9usN15f9CvBIUI0bOtYLxisSh9m74am2TO/K5HZyyAcilO xJ4EFHFB88k5gMeQekHuru0a1qDIz98KqqoGGNM4Kg9rkBCQdM6tJ5yZI0rMZeOYP/vd+W9 Tm52J3QKrwNbDNPjceuWVtZV+X0hIqnCYA4H2s3T1MZPRktt4tZmZ9ALbzQ1dRmVFC5T1wi zokUyncCAHz6VDvNpKKqg== X-UI-Out-Filterresults: notjunk:1; V01:K0:QiGoR6s+bdc=:gyPwjE8fdBhHT2u8gnr7mj wog4hoba7oPXSDeQjU/si5I2lBz2wChaC4wJMtL9FMJoPgjFWBitCdzX+ibLx7XhIak7P/swp LK6iATHioqEt/HBWIwVNpLX2qAfDN7eq9BEWi9ncBiDoLMlZTRpJeayN8q/Zj6rtGqkCCgf+/ VN82rKbwJGE9h0+kF4ddXcUzPW9CefScDl86ak0xStWkFwNmcQYIEaXTjGYDQKVObShjQUIkQ ovHu665RPbmotLHnEnhVcVjFPX10UhXv7atdWJNsebB5k6VrrxkOxRsqFzRzN6o3y3dzQCzRl w5w0HXyQQyqNDb0vRo+vJ81LwNzvvkkb5XgaUg1S8eEobw+fD+bQEWTa2Q7lJ7PCoUMoWvRGl j7TsDCH9gVX6G5KRmgG7f+y9PjtHBeE3Z+cywbxiTgIDSYrW3aWAFDs8KNPulfqKVcVnM5xOZ xSmTv4DTCd5aRrIvdxtBu14giZCIExxj4fwKsYXzRzHqDuVlIYKnclTCGGSzClKSg2ax6AKlN xGc5FLwziT0NTBwxHna/s5Z34ZwRE2QfybuS/cV6fCXZXsY24z6b/+2K+dwPmM3TeWUpg9xLR YXRx0P9O42316/cjlZWIfw1ORxX4qzts9JqRTegAkW7V9LKUW3kaE+91xpwJdErVTzAPBu1b4 2l7gWrIznyfuntJNW77mOU2tUm444Z6/heTJydAyWkrM0P80SIcTmTfEU2O+WjIq/BYFcKbnE z+hGqqQ2RMTAv47p Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We get a link failure on R8A7745 and R8A7743 when the other platforms are disabled and nothing selects the clk-rcar-gen2 driver: drivers/clk/renesas/clk-rcar-gen2.o: In function `rcar_gen2_cpg_clocks_init': clk-rcar-gen2.c:(.init.text+0x39c): undefined reference to `cpg_mstp_add_clk_domain' This adds another 'select' statement to get them to build as well. Fixes: 9127d54bb894 ("clk: renesas: cpg-mssr: Add R8A7745 support") Signed-off-by: Arnd Bergmann --- drivers/clk/renesas/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/renesas/Kconfig b/drivers/clk/renesas/Kconfig index 2586dfa0026b..4ebd9d3d24b7 100644 --- a/drivers/clk/renesas/Kconfig +++ b/drivers/clk/renesas/Kconfig @@ -10,6 +10,8 @@ config CLK_RENESAS_CPG_MSTP default y if ARCH_R7S72100 default y if ARCH_R8A73A4 default y if ARCH_R8A7740 + default y if ARCH_R8A7743 + default y if ARCH_R8A7745 default y if ARCH_R8A7778 default y if ARCH_R8A7779 default y if ARCH_R8A7790