From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8A5B2C9C for ; Tue, 7 Feb 2023 13:07:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CA54C433EF; Tue, 7 Feb 2023 13:07:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1675775270; bh=LdmUlfcJx7v6Z4LVgzmCWROplouTj3dNtEHHdETCLsA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nV6lBLH5tx9VR8N33dB5ld1Z+XwfblboSJ+a7XbiuE04XLjTR2HUJCSWXg9GtM0mk SdwyB+uTW9qo0xNqY7s3KHm0FzGVV8HFFjzGwy1ZG6IMRtT5M82nH0ONYjz3EESIMN x8rtEn/9BhGGdMtnVa+YJuSrri8CVPAr6C3vbTvA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Arnd Bergmann , Hans de Goede Subject: [PATCH 6.1 194/208] platform/x86/amd: pmc: add CONFIG_SERIO dependency Date: Tue, 7 Feb 2023 13:57:28 +0100 Message-Id: <20230207125643.270957414@linuxfoundation.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230207125634.292109991@linuxfoundation.org> References: <20230207125634.292109991@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Arnd Bergmann commit abce209d18fd26e865b2406cc68819289db973f9 upstream. Using the serio subsystem now requires the code to be reachable: x86_64-linux-ld: drivers/platform/x86/amd/pmc.o: in function `amd_pmc_suspend_handler': pmc.c:(.text+0x86c): undefined reference to `serio_bus' Add the usual dependency: as other users of serio use 'select' rather than 'depends on', use the same here. Fixes: 8e60615e8932 ("platform/x86/amd: pmc: Disable IRQ1 wakeup for RN/CZN") Signed-off-by: Arnd Bergmann Link: https://lore.kernel.org/r/20230127093950.2368575-1-arnd@kernel.org Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Greg Kroah-Hartman --- drivers/platform/x86/amd/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/platform/x86/amd/Kconfig +++ b/drivers/platform/x86/amd/Kconfig @@ -8,6 +8,7 @@ source "drivers/platform/x86/amd/pmf/Kco config AMD_PMC tristate "AMD SoC PMC driver" depends on ACPI && PCI && RTC_CLASS + select SERIO help The driver provides support for AMD Power Management Controller primarily responsible for S2Idle transactions that are driven from