Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1480180imj; Fri, 8 Feb 2019 02:07:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IY7KPivFCJR/Ly5t4c5ZbzuvhyghV2yOGqDBXt7yqszf3nwupRKIJajPFI6XFX2bqdMuEM4 X-Received: by 2002:a17:902:8d8e:: with SMTP id v14mr21719155plo.133.1549620428287; Fri, 08 Feb 2019 02:07:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549620428; cv=none; d=google.com; s=arc-20160816; b=iVsHoYGPiTFQRmX697Tj09rkt1gdcprLjVql6xU47RiI1B1k/xibP0ahQwpV2GnhXt YWrbpO5IRmKHXCrNfZljIYy+Exkjk/hjDsTZV1M0SiLTKf0Fj6kvOYxZ5G5UzQheZYtH i+ItlMUgIDfxEb6Sja4P4Zq34s08qOEhDT2G1G4vg3llIjADQpCGNIXmDUeeyOFtK/nA 4SSY2J9I7UIseiy7DRpXtEv088Za3wU5wWdXthrs917wIYrs2iJxTG9jXj13Gh6bFslp F1sgOYjOeMHz0GYYd3R726ZhnVY3y0La7/A6y5ZVfIZyDGe+A1vxyfkveqrRvn0DBIF/ nVgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=zFRo76pDAqdKCNqiosls6wLpqb7M6RxSfBGb7L8IgrM=; b=M6LaFLEYBAb07xJNwMvfahWnY/LDV6/u8QCK9TGHSr7OOqZeaq6GCJC2tIUzFWIXlC HfC/3u1BBS0TkETPPxgDIPp6FnijunRWUKeS/ky1KLVRmi1x6CQMZYd1ryjzJZwyvOIu G1YBOJV6hCCPM7vfcSW40Jeuoe6+obq5m9caevGhf8zJS11wJbZVDjuvboxKEGsCPJ2K 66PxMvJodq+nz4pdrc00iFe6NbhV/Z4LYFobLG5MVWCGXA5D+XhmzHFTX2ngfhFFOo+K 9zn/zYQS1regS9x7o3r3w3GMvqCceqQBfQyUEKRVtijzGqwmtHdHHcIEWYZZqLoJGv54 3vww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si1637566pgo.41.2019.02.08.02.06.52; Fri, 08 Feb 2019 02:07:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727549AbfBHKFi (ORCPT + 99 others); Fri, 8 Feb 2019 05:05:38 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:46871 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726655AbfBHKFh (ORCPT ); Fri, 8 Feb 2019 05:05:37 -0500 X-Originating-IP: 109.213.164.40 Received: from localhost (alyon-652-1-53-40.w109-213.abo.wanadoo.fr [109.213.164.40]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 85E96E0010; Fri, 8 Feb 2019 10:05:34 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org Cc: Anson Huang , linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH] rtc: imx-sc: depend on HAVE_ARM_SMCCC Date: Fri, 8 Feb 2019 11:05:30 +0100 Message-Id: <20190208100530.21872-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following build issue: drivers/rtc/rtc-imx-sc.o: In function `imx_sc_rtc_set_time': >> rtc-imx-sc.c:(.text+0x212): undefined reference to `__arm_smccc_smc' Fixes: 13a929f38ad7 ("rtc: imx-sc: add rtc set time support") Signed-off-by: Alexandre Belloni --- drivers/rtc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index faa9ae1a3062..8f6735e0ff14 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1698,6 +1698,7 @@ config RTC_DRV_SNVS config RTC_DRV_IMX_SC depends on IMX_SCU + depends on HAVE_ARM_SMCCC tristate "NXP i.MX System Controller RTC support" help If you say yes here you get support for the NXP i.MX System -- 2.20.1