From patchwork Mon Apr 24 10:05:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Regnery X-Patchwork-Id: 9695973 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 E933660113 for ; Mon, 24 Apr 2017 10:09:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D99FA223B3 for ; Mon, 24 Apr 2017 10:09:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC14D26C9B; Mon, 24 Apr 2017 10:09:18 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 A9B84223B3 for ; Mon, 24 Apr 2017 10:09:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761907AbdDXKJR (ORCPT ); Mon, 24 Apr 2017 06:09:17 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36046 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761440AbdDXKJQ (ORCPT ); Mon, 24 Apr 2017 06:09:16 -0400 Received: by mail-wm0-f65.google.com with SMTP id u65so16051865wmu.3; Mon, 24 Apr 2017 03:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Zp5msd8PrPB9qUqxM1pgBt2QV4odm62Y73WfWzAWLZI=; b=natBlTfVpIRNarkIBugZrLUDdLU7v+Z/MS0x7QT1a3c7CX+6f/yUMUVEHUnaHWIfWv 9Em0VwHUSSiL8i3php+Hnm8u8OPzKzJs5Gwn9FVXAa6J13cyGFYSEfRhjC5vZy4kwWGJ iNZwBgY1jYUZLFOGtpIPgT7JoMB3z/2T+FLpDj2r5UCVPr5Hnp3b9vWZT7lFQWUg//4I kpiKzcuS2LUkUs2OyiqqC9T173vmEG3IfUDmGg9BEZnL9BpGxlAaptamTGzMMfNmi/Z2 ltU8JbUsPKb+/M7GCwfwlI1G/mOw2dvEtvZavhPbO2u+MJTrbZ7Jx4JqpdlFRko2cjtr n7/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Zp5msd8PrPB9qUqxM1pgBt2QV4odm62Y73WfWzAWLZI=; b=kanTLa5CXhDXOIYfE/f/m3BSLRMb5CRcMfR5PBV5Fa9IDaZ1C5/Kak85kZSpIYDFMY erYYwpb51TFJkiCs8asfcM2uAFfqxtUMv5RFzFLf8VZUkcfEzrtN1AXKH7z57HGNpM96 FIYfocTX0eskgxOWzuI18vybITf9aVlD/6SgdxaVIevmyUdbIIBK+2IdsDUndSC8uIRV ED5ndbVpE8s9+dBQ6HUSQQnoZSbkGxNW/3aDZh69LQjp9YCfdBSenSYl322S5uoCPvzh BE3RVrVtuMQ/QaKEtWKX+P/YyZ/nb3XTb6cn8A94PkSblK3l3MqMKCkfQV5vWDh8fpFA YEaQ== X-Gm-Message-State: AN3rC/7+MqbMOaW6luop5DP61LrT9tOeQBfdSqDe9DAVfhEwWfl0dUFf M0eaEf1JaSAUUs0sI+3/uA== X-Received: by 10.28.222.70 with SMTP id v67mr8630596wmg.65.1493028554889; Mon, 24 Apr 2017 03:09:14 -0700 (PDT) Received: from [127.0.1.1] ([83.243.48.54]) by smtp.gmail.com with ESMTPSA id l36sm21843954wrl.59.2017.04.24.03.09.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 03:09:13 -0700 (PDT) From: Tobias Regnery To: narmstrong@baylibre.com, sboyd@codeaurora.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Tobias Regnery Subject: [PATCH] clk: meson: gxbb: fix build error without RESET_CONTROLLER Date: Mon, 24 Apr 2017 12:05:42 +0200 Message-Id: <20170424100542.20226-1-tobias.regnery@gmail.com> X-Mailer: git-send-email 2.11.0 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 With CONFIG_RESET_CONTROLLER=n we see the following link error in the meson gxbb clk driver: drivers/built-in.o: In function 'gxbb_aoclkc_probe': drivers/clk/meson/gxbb-aoclk.c:161: undefined reference to 'devm_reset_controller_register' Fix this by selecting the reset controller subsystem. Signed-off-by: Tobias Regnery Acked-by: Neil Armstrong --- drivers/clk/meson/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/meson/Kconfig b/drivers/clk/meson/Kconfig index 19480bcc7046..2f29ee1a4d00 100644 --- a/drivers/clk/meson/Kconfig +++ b/drivers/clk/meson/Kconfig @@ -14,6 +14,7 @@ config COMMON_CLK_MESON8B config COMMON_CLK_GXBB bool depends on COMMON_CLK_AMLOGIC + select RESET_CONTROLLER help Support for the clock controller on AmLogic S905 devices, aka gxbb. Say Y if you want peripherals and CPU frequency scaling to work.