From patchwork Mon Jul 13 08:11:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 494263 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pd0-x239.google.com (mail-pd0-x239.google.com [IPv6:2607:f8b0:400e:c02::239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9DB90140773 for ; Mon, 13 Jul 2015 18:16:20 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b=oDIZ8Fj4; dkim-atps=neutral Received: by pdea5 with SMTP id a5sf78963104pde.0 for ; Mon, 13 Jul 2015 01:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:reply-to:content-type:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=HI+eqWw+v0wbUw7poVIzsOIZdAgUDlmQVYUWMDgIUxg=; b=oDIZ8Fj4v9IQ1OuB+NnQr+xnizrlXFeKJAqq2jkBOWc9LoAIz4quQfNjHmRb40o0OA uj/yFW3u3Us/jJuUtxv6+9zf4wi08QhfxtemgWR1UOwzJEu3YSmMGtbOxhrI5oYiVmkL N5DJ9uddJo74Ik0Mp2VCwy0/nLzCMilQ50B2cItdWGUChT+qp0TWlsqZaq38SgmlZ0vu QBqt0Xq6H+kWkhk4AmjorMzrf8i5/3ZKEU9FUYy+zDKUecmueyS/LBMXPDGVc59N0zW5 JNM1N7unAW3cFKRBlXCYUTZXmthvpY6O0Wu4JTdMUDrcBz1N0fVwMzUADw8VasB7CPCi Tceg== X-Received: by 10.140.107.34 with SMTP id g31mr12212qgf.17.1436775378068; Mon, 13 Jul 2015 01:16:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.140.84.137 with SMTP id l9ls6614134qgd.41.gmail; Mon, 13 Jul 2015 01:16:17 -0700 (PDT) X-Received: by 10.13.238.71 with SMTP id x68mr42974660ywe.52.1436775377702; Mon, 13 Jul 2015 01:16:17 -0700 (PDT) Received: from mail.kernel.org (mail.kernel.org. [198.145.29.136]) by gmr-mx.google.com with ESMTP id x12si555546igx.1.2015.07.13.01.16.17 for ; Mon, 13 Jul 2015 01:16:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of shawnguo@kernel.org designates 198.145.29.136 as permitted sender) client-ip=198.145.29.136; Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C1D4A205B7; Mon, 13 Jul 2015 08:16:16 +0000 (UTC) Received: from localhost.localdomain (unknown [121.228.248.234]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9471D205B6; Mon, 13 Jul 2015 08:16:06 +0000 (UTC) From: Shawn Guo To: rtc-linux@googlegroups.com Cc: linux-arm-kernel@lists.infradead.org, Alexandre Belloni , Frank Li , kbuild test robot , Shawn Guo Subject: [rtc-linux] [PATCH] rtc: snvs: select option REGMAP_MMIO Date: Mon, 13 Jul 2015 16:11:15 +0800 Message-Id: <1436775075-15037-1-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP X-Original-Sender: shawnguo@kernel.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of shawnguo@kernel.org designates 198.145.29.136 as permitted sender) smtp.mail=shawnguo@kernel.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: rtc-linux@googlegroups.com X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Select REGMAP_MMIO to fix the following build error seen with x86_64 randconfig. drivers/built-in.o: In function `snvs_rtc_probe': rtc-snvs.c:(.text+0x567730): undefined reference to `devm_regmap_init_mmio_clk' Reported-by: kbuild test robot Signed-off-by: Shawn Guo Acked-by: Frank Li Acked-by: Alexandre Belloni --- This is a fix to patch "rtc: snvs: use syscon to access register", which I queued on IMX tree for 4.3. So I will apply it to the same branch. Shawn drivers/rtc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 83b4b89b9d5a..533bfa3b6039 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1523,6 +1523,7 @@ config RTC_DRV_MXC config RTC_DRV_SNVS tristate "Freescale SNVS RTC support" + select REGMAP_MMIO depends on HAS_IOMEM depends on OF help