From patchwork Thu Jan 30 18:38:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 232319 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DE50C2D0DB for ; Thu, 30 Jan 2020 18:52:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 536A120661 for ; Thu, 30 Jan 2020 18:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580410322; bh=VowLuk2K+luDJz7dwmIIDAHycgX1yz4Y/RRQAU+DonU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=OTPGLn0/Yv0HPOEIrfTxM5TvurPgaKc2MxIcs+S+qzaiXAtLBr84hPc0cizQ4d7SP RINB4TR1xfvzBUDGmslGeHEm7ndZJ+Bp8+3SZk1thjINZekz+b5GCVYvm6ZyBCrZuO +EjV/KyxADSQpxmyo3FPCcCZUzyzhX0JDoPsYZQU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728043AbgA3Sv6 (ORCPT ); Thu, 30 Jan 2020 13:51:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:53306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730791AbgA3SoO (ORCPT ); Thu, 30 Jan 2020 13:44:14 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AEB80214AF; Thu, 30 Jan 2020 18:44:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580409854; bh=VowLuk2K+luDJz7dwmIIDAHycgX1yz4Y/RRQAU+DonU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EdrpgIhj5JthqxStEUT+AIYTNb54YUc5hyqTF7I0UOeqwb8OzrDCG414nGEWd2aA7 hqUBnbM21IWIduWNtVIjF+N/8qg9p2lndtmfFugp+8sh4fL7ds2sL04TEs5o4I4DzV +dH0gS2bBHvqXerVHcDtHJ8fSu10QNfYbgl5wM4g= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, David Engraf , Guenter Roeck , Wim Van Sebroeck , Sasha Levin Subject: [PATCH 5.4 060/110] watchdog: max77620_wdt: fix potential build errors Date: Thu, 30 Jan 2020 19:38:36 +0100 Message-Id: <20200130183622.096206213@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200130183613.810054545@linuxfoundation.org> References: <20200130183613.810054545@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: David Engraf [ Upstream commit da9e3f4e30a53cd420cf1e6961c3b4110f0f21f0 ] max77620_wdt uses watchdog core functions. Enable CONFIG_WATCHDOG_CORE to fix potential build errors. Signed-off-by: David Engraf Reviewed-by: Guenter Roeck Link: https://lore.kernel.org/r/20191127084617.16937-1-david.engraf@sysgo.com Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck Signed-off-by: Sasha Levin --- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 4c761abc56883..e2745f6861960 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -687,6 +687,7 @@ config MAX63XX_WATCHDOG config MAX77620_WATCHDOG tristate "Maxim Max77620 Watchdog Timer" depends on MFD_MAX77620 || COMPILE_TEST + select WATCHDOG_CORE help This is the driver for the Max77620 watchdog timer. Say 'Y' here to enable the watchdog timer support for