From patchwork Wed May 17 21:19:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9731907 X-Patchwork-Delegate: sboyd@codeaurora.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 DBFDA6022E for ; Wed, 17 May 2017 21:23:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99175287E5 for ; Wed, 17 May 2017 21:23:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D01D287E2; Wed, 17 May 2017 21:23:08 +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 2BC9B287E5 for ; Wed, 17 May 2017 21:23:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751155AbdEQVVb (ORCPT ); Wed, 17 May 2017 17:21:31 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:55995 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838AbdEQVVa (ORCPT ); Wed, 17 May 2017 17:21:30 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0M9Xn5-1dHNUS3zx9-00CyJ9; Wed, 17 May 2017 23:20:44 +0200 From: Arnd Bergmann To: Michael Turquette , Stephen Boyd Cc: Arnd Bergmann , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: sunxi-ng: enable SUNXI_CCU_MP for PRCM Date: Wed, 17 May 2017 23:19:01 +0200 Message-Id: <20170517212035.3100471-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:D0ildPGTJd4/GLtRhkxkr+bCRn9p8FuDFdq84VJ9ciZ5/pQovWl QvTaXFGRlSpE4ZlAe3E6vrRKKHzgtvWs/TRUnOgr/HcPBRGKXVc14WiWnSZkkkc6Nplj0S+ LXPPlDwtOl8RWMWqQ6LNG1z7o9pumUTLeTCDKLlggTmOqb71Jmip1zZ+s1PYKR2tV1iP08+ CsX3vvFXx5fLmk6K/1qUg== X-UI-Out-Filterresults: notjunk:1; V01:K0:P1L9YQbrILw=:sI4LuVaZ3ITvAYLzfhaOuY pxStp8MGn0FxfZVSZ5BfOv6UNbKJOINA7FilqyHVBfP1C9XZpLhH26SbSyZWWL17hWgHLKYL+ 9kJrhwneRQ/tKPxLfYFHpPhlPYHiL2kLiSB9YtVLAh/BKtDZ2AsLnvsXNpjq+Icg1TJTu42xb h+81uKBRQlo3s9MFzjixvn1mTsQYelqBFCG4TTtMu1Gi4i58auJVX4brxTJQt76Tu8D2s6YBa qI9k7qtI4nKtdq0vWatSpMBZyyFbwVwA81aWAu/lyhu1aUZ9ECW1lKJuQ9Mq3i2icMlD/4ywc w+hihIMUy6fPq3AOfUEPfVGAUO7uJddKlycv7wn11BsCcB7uw6GUt3izY+AuF2baBKBUVTT9t hiYex1CGzFbVV2a+QyQwi9mTt99ctCWq3y+5xeSP2JX1MGxOsvG4XWYPrxi6t0l0tTbpGDvVo nz1MuWdb6lOz7R78hfLD0Am9Tt9M5WsQ/tWp7vNmmtQLV3mn8VUAXmPq5EJC4ZHNJ3LWHSZdH SAPLQiRUqer+ourl9hLCB/5zdiuAVkU8cFHdQH8VGtZjYeBU48W5jCzZatACETiEaQtVmcXjK uRQ91iisj9QjZmiirJc+P3LPch+O4eLpFj6O7llzAmtIgT9LAS+W/OS0c6a9tu5wwqlGmSjb+ SYJwbSxxLNTK2wTjLGMBx8Ya3SAIX/CXz9vXICTsblZKy1wSBHtc2dIUbjJJWUA8fsrA= 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 PRCM CCU driver uses SUNXI_CCU_MP_WITH_MUX_GATE, which causes a link error when no other driver enables SUNXI_CCU_MP: drivers/clk/built-in.o:(.data+0x5c8c8): undefined reference to `ccu_mp_ops' This adds an explicit 'select' statement for it. Signed-off-by: Arnd Bergmann Reviewed-by: Chen-Yu Tsai --- drivers/clk/sunxi-ng/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index b0d551a8efe4..eb89c7801f00 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -156,6 +156,7 @@ config SUN8I_R_CCU bool "Support for Allwinner SoCs' PRCM CCUs" select SUNXI_CCU_DIV select SUNXI_CCU_GATE + select SUNXI_CCU_MP default MACH_SUN8I || (ARCH_SUNXI && ARM64) endif