Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp73978rwi; Tue, 18 Oct 2022 14:19:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4C8c9GS5zuLcyQEnZtKZTBiJbC252jtuBNy4VKvneoeE+hHNU8h/7Fyd8HwayNW2Hikcqj X-Received: by 2002:a05:6402:268a:b0:45c:c38d:ed70 with SMTP id w10-20020a056402268a00b0045cc38ded70mr4442821edd.62.1666127945190; Tue, 18 Oct 2022 14:19:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666127945; cv=none; d=google.com; s=arc-20160816; b=IqQ6jUMtFbsvRdlTyGzFx5yg433de/nYKLsd0RtSW27/hTIZzHhbfMU4wtmih7slxq uxPeHfByG8DDj65drj5BxXU90xvJU6AHOCIT3v0whUkRuEtbyiJEL4rMvl7f1TWAu6eN fn9ZKCu2oM6uJz4mjqkWx09WDUwHR6EDmyxePF7yFK06ooSkK5J9cGj0V6wG/C5BidjS s1rDllX+G9LDIw5UmnUGhAMs3mJMst8rd27d4k53x1D5kcCtHmmLxipmplThJ3GXYXHa p+0ShPajd+r4yO15GtAw19aiGDnVpNjEoC2Jc/XJu/oM7cgd71HrmDbsbG739ZS9YwC6 ctXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PIy9OD3XsnKWzgyallw6AVoX1lAXsUoCaj2NoGGyRNk=; b=rqDnzsB0C+gQ6wyHr+P7oBiJecFLGqv91Q6P3fD820sDaovfjSEWex96ienEq0X55K G8uXAwXvdTHqnmalpEx+WT8P7tpLW1Isdnta3nEKeRsanfQCd2tQvhZBveMgKeJsnrpG YLBvDai3jio1vgULlftJRLYIrxbiSX9bnXZLb8kb5ahlLs8HchnpUKDRdUdg4PcHiSN/ KX14BopGPvpn5NE8Dyij3rwsPfB6fXkEaFzOUy8KbkC0G8vH9ExZY143K1kD0e639XDN 04MYu7RFQUGXDsaVZ0IdoIvYi+cQvfVAuL7BWdT8Mf2LMFSEoF9P+fGtWj5C0eRN7emH WjSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Dz7W0DKs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fi18-20020a056402551200b0045a3b951e8bsi12114525edb.194.2022.10.18.14.18.40; Tue, 18 Oct 2022 14:19:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Dz7W0DKs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230111AbiJRUfg (ORCPT + 99 others); Tue, 18 Oct 2022 16:35:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbiJRUfd (ORCPT ); Tue, 18 Oct 2022 16:35:33 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22B32606BA; Tue, 18 Oct 2022 13:35:31 -0700 (PDT) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 855AF1C0003; Tue, 18 Oct 2022 20:35:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666125330; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=PIy9OD3XsnKWzgyallw6AVoX1lAXsUoCaj2NoGGyRNk=; b=Dz7W0DKsq3zEjR+RUQfAkGKVdnrq8hnyO54JiDwvmJ8Gze9H2m3598sIHMKGAEZfV/GFkJ MXmbqOIi7Y5J7XGF0WF1sj+4zJtQYscf4aV3hw+9X1ZFezsf70GTIrRIo053noRnX8SByS H+PsKvVQwhutNcSKCTvRgvLWXeMuTx7NQWXcC2js4F0HmiZDq4intWMTE3SVPXLyMhHoLE o97R2rlHoR65G2naIV4DIov91OPSnl5cJFpkKOsuRyQAGmD7iL2UdGVotjdrfxJ7M3v9B8 54tFgCR6gGZOZmSwbrUIHn2qR0FGc3nAB8Do4KA7SXbRsQZo6BU3F3Ef1zWJKw== From: alexandre.belloni@bootlin.com To: Alessandro Zummo , Alexandre Belloni Cc: kernel test robot , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] rtc: cmos: fix build on non-ACPI platforms Date: Tue, 18 Oct 2022 22:35:11 +0200 Message-Id: <20221018203512.2532407-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandre Belloni Now that rtc_wake_setup is called outside of cmos_wake_setup, it also need to be defined on non-ACPI platforms. Reported-by: kernel test robot Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-cmos.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c index 01fb31f8e534..58cc2bae2f8a 100644 --- a/drivers/rtc/rtc-cmos.c +++ b/drivers/rtc/rtc-cmos.c @@ -1346,6 +1346,9 @@ static void cmos_check_acpi_rtc_status(struct device *dev, { } +static void rtc_wake_setup(struct device *dev) +{ +} #endif #ifdef CONFIG_PNP -- 2.37.3