Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1408475rwi; Wed, 19 Oct 2022 10:11:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4h5w60IDVeZNCprk7/XYW9Oms2eKV9qMUqbb6WzSTYEkeN6Xea1VK01LUUIe0JympE7NBE X-Received: by 2002:a05:6a00:f03:b0:563:210a:5ffb with SMTP id cr3-20020a056a000f0300b00563210a5ffbmr9636136pfb.70.1666199500887; Wed, 19 Oct 2022 10:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666199500; cv=none; d=google.com; s=arc-20160816; b=ZAI7AgW2cR+cowSkS/wl+bkQ9wm0vU6sFMc5hHrtY3IVerVC3UAhyqXZHXp+Plcnnc oAP8TgntlS3KeR9mvZKo/7OBDd3hxc30uhHdqIT/pBB7oPgD1foPqqUsoAu9noMR93l7 xFvhK0akpfATwSlCbs8iLZHvUK6n1FZ2DNO034gyqE1e7piC05BAhwufTCJoUYNYaIqg mIbn1MGdT8blXdz8tOOVCxoLVOZ72rRxOmouWQuxEtwg5YacjOjLol6cTdGLsncM67LR p6jbX518tqMDap0XsCXHwpBrGPWq9GZc9m3kij/lfdHOdvqwGlQ/Af4ruLFOTCejCqaT dPVA== 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; bh=vl/2h8ti7vJ6q3W4KLyElKksv82jbDYoUFzir2uFTOM=; b=RA/q2HnHQUjFbQYtnZi4BWg7FaAJOQhkF3JvFgblniIEcrC30mA4yz6dPPmjZc9AhM P9O3cO49QWt+XEnJow+9KFTt+Mgch51AKDj19jYJ/1EwWprG0s2wL4nb9JuDcIor0CBR p9DW83iaEDmXwE7BXoB2oilKteYlT9/uylaLcLtxrCnv0v+HC/0zKywW7NnYxmCeWJ0Q HkdG2uYbXHc5KP3JUK3eFgC+zcbpH/kDgrrVaw6VUKpJYlCrAvIg8HTMJxtZaVj+OOE6 p2guf88iwHBh/gRNi0z2YW6wR+0AlIVs/PcgPpg5OEgGKgcxjzN3sE3+M/QjE82fXrdE rhIQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d8-20020a63d708000000b0044a82d20079si19592045pgg.526.2022.10.19.10.11.26; Wed, 19 Oct 2022 10:11:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbiJSQGG (ORCPT + 99 others); Wed, 19 Oct 2022 12:06:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbiJSQFb (ORCPT ); Wed, 19 Oct 2022 12:05:31 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2854826D7; Wed, 19 Oct 2022 09:04:24 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.0.0) id 72dc682b41a07469; Wed, 19 Oct 2022 18:03:35 +0200 Received: from kreacher.localnet (unknown [213.134.188.148]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 902B06669D5; Wed, 19 Oct 2022 18:03:34 +0200 (CEST) From: "Rafael J. Wysocki" To: Alexandre Belloni Cc: Alessandro Zummo , Mario Limonciello , linux-rtc@vger.kernel.org, Bjorn Helgaas , LKML , Linux ACPI , Linux PM , Mel Gorman , Zhang Rui , Todd Brandt Subject: [PATCH] rtc: rtc-cmos: Fix compilation with CONFIG_ACPI unset Date: Wed, 19 Oct 2022 18:03:33 +0200 Message-ID: <2677035.mvXUDI8C0e@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.188.148 X-CLIENT-HOSTNAME: 213.134.188.148 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeelgedgleehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepffffffekgfehheffleetieevfeefvefhleetjedvvdeijeejledvieehueevueffnecukfhppedvudefrddufeegrddukeekrddugeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddufedrudefgedrudekkedrudegkedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepuddupdhrtghpthhtoheprghlvgigrghnughrvgdrsggvlhhlohhnihessghoohhtlhhinhdrtghomhdprhgtphhtthhopegrrdiiuhhmmhhosehtohifvghrthgvtghhrdhithdprhgtphhtthhopehmrghrihhordhlihhmohhntghivghllhhosegrmhgurdgtohhmpdhrtghpthhtoheplhhinhhugidqrhhttgesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphht thhopehhvghlghgrrghssehkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdgrtghpihesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhpmhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehmghhorhhmrghnsehtvggthhhsihhnghhulhgrrhhithihrdhnvghtpdhrtghpthhtoheprhhuihdriihhrghnghesihhnthgvlhdrtghomhdprhgtphhtthhopehtohguugdrvgdrsghrrghnughtsehlihhnuhigrdhinhhtvghlrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=11 Fuz1=11 Fuz2=11 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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: Rafael J. Wysocki After commit 0782b66ed2fb ("rtc: rtc-cmos: Fix wake alarm breakage") the driver won't build with CONFIG_ACPI unset due to a missing stub definition of rtc_wake_setup(), so fix that. Fixes: 0782b66ed2fb ("rtc: rtc-cmos: Fix wake alarm breakage") Signed-off-by: Rafael J. Wysocki --- drivers/rtc/rtc-cmos.c | 4 ++++ 1 file changed, 4 insertions(+) Index: linux-pm/drivers/rtc/rtc-cmos.c =================================================================== --- linux-pm.orig/drivers/rtc/rtc-cmos.c +++ linux-pm/drivers/rtc/rtc-cmos.c @@ -1337,6 +1337,10 @@ static void cmos_check_acpi_rtc_status(s #else +static inline void rtc_wake_setup(struct device *dev) +{ +} + static void cmos_wake_setup(struct device *dev) { }