Message ID | 2677035.mvXUDI8C0e@kreacher |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp410965wrs; Wed, 19 Oct 2022 09:12:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7cDNc6vjIPSFxPz21t8Pk3/8GgIeVbtg8jQGLbgmehYYpcAbK5p8Hro4eiLipZLOugoPfL X-Received: by 2002:a65:6ccd:0:b0:439:2033:6ee with SMTP id g13-20020a656ccd000000b00439203306eemr7934171pgw.271.1666195971410; Wed, 19 Oct 2022 09:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666195971; cv=none; d=google.com; s=arc-20160816; b=bp+DxSuTNgj9iVJ9XQE0jHw2sJ93QdiCGW22Nhi6t7sCi7OKIivZ57nvFF7kFD+Y7M fpCLvl1pSYsqJnyBeE2/5XcoYYMIeceWrnFPwbvW+U8n5Gb1roLGvAAciEvF5cP2+ZSm 3qht0uKW7plALWpuEWenclsschtL8fyfaRdC/qiUoJm+habG4ADalbWSQNVsr08ZFcDD BQ2wzA4BarFQ2God5dARvi3v+0/rceAY9NJDvluSLvis1uSear1kOKj2Sl8eUxLJ7fo0 3USTeA5pUk9cPNDbos7u0iA52Dm2Vw0Ud7Uwpv+rMm01HvhgZaOqOD+XkHd10u556HTS c5Ug== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o29-20020a635a1d000000b0043f06af773dsi19159877pgb.33.2022.10.19.09.12.26; Wed, 19 Oct 2022 09:12:51 -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 <rfc822;samuel.l.nystrom@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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" <rjw@rjwysocki.net> To: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Alessandro Zummo <a.zummo@towertech.it>, Mario Limonciello <mario.limonciello@amd.com>, linux-rtc@vger.kernel.org, Bjorn Helgaas <helgaas@kernel.org>, LKML <linux-kernel@vger.kernel.org>, Linux ACPI <linux-acpi@vger.kernel.org>, Linux PM <linux-pm@vger.kernel.org>, Mel Gorman <mgorman@techsingularity.net>, Zhang Rui <rui.zhang@intel.com>, Todd Brandt <todd.e.brandt@linux.intel.com> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747133106603118104?= X-GMAIL-MSGID: =?utf-8?q?1747133106603118104?= |
Series |
rtc: rtc-cmos: Fix compilation with CONFIG_ACPI unset
|
|
Commit Message
Rafael J. Wysocki
Oct. 19, 2022, 4:03 p.m. UTC
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> 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 <rafael.j.wysocki@intel.com> --- 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) { }