From patchwork Sat Nov 5 11:09:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 13033025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72817C4332F for ; Sat, 5 Nov 2022 11:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XyZ4M3XRiS73r+v/D1I5muQzMavjp7tMRIlU4xD+qMc=; b=fR1JgovG+4Kwr2 +k5I5aVVmbmfJQ3mAYaNpb6i8m3+N/SoGWhzaziHFXj5vPnSdwvRmd7qJPIn3B3Vml8YbeKXpOg2I QCIAUbexO5p3hfMEc1qwPxQvT1o+tWTksVH3F8A7YjxZ1QbPGpmWCjfqhcYpd2VRJUhBpqMASqvee TTGuOckZeC4yStHZqsBNnvkaUw/XGV/awTOiGY7rXVxqlA1r5+xLQ7Qfwc7AlEYCElwWTUppI1eNr pTpdaT0lPI0WVw7xh/zolxA7HZVwgZCDzckeKzzeK97Dx/Bb7nrHNgONrnXLhXyQbOIDj9B29aTuq kGmIoRDUHqV7NbSeQQYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1orH3k-006OX9-4q; Sat, 05 Nov 2022 11:09:56 +0000 Received: from smtp-19.smtpout.orange.fr ([80.12.242.19] helo=smtp.smtpout.orange.fr) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1orH3e-006OVx-L0 for linux-arm-kernel@lists.infradead.org; Sat, 05 Nov 2022 11:09:53 +0000 Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id rH3QocCGWnj75rH3QonBEO; Sat, 05 Nov 2022 12:09:42 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 05 Nov 2022 12:09:42 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET To: Wim Van Sebroeck , Guenter Roeck , Joel Stanley , Andrew Jeffery Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH] watchdog: Include when appropriate Date: Sat, 5 Nov 2022 12:09:34 +0100 Message-Id: <08fd5512e569558231247515c04c8596a1d11004.1667646547.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221105_040950_847000_DBEBE71E X-CRM114-Status: UNSURE ( 8.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The kstrto() functions have been moved from kernel.h to kstrtox.h. So, in order to eventually remove from , include the latter directly in the appropriate files. Signed-off-by: Christophe JAILLET Reviewed-by: Guenter Roeck --- drivers/watchdog/aspeed_wdt.c | 1 + drivers/watchdog/watchdog_dev.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/watchdog/aspeed_wdt.c b/drivers/watchdog/aspeed_wdt.c index 0cff2adfbfc9..10863d2ef924 100644 --- a/drivers/watchdog/aspeed_wdt.c +++ b/drivers/watchdog/aspeed_wdt.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/watchdog/watchdog_dev.c b/drivers/watchdog/watchdog_dev.c index 55574ed42504..f31608f3e324 100644 --- a/drivers/watchdog/watchdog_dev.c +++ b/drivers/watchdog/watchdog_dev.c @@ -35,6 +35,7 @@ #include /* For __init/__exit/... */ #include /* For hrtimers */ #include /* For printk/panic/... */ +#include /* For kstrto* */ #include /* For kthread_work */ #include /* For handling misc devices */ #include /* For module stuff/... */