Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp3545527rwl; Sun, 6 Nov 2022 01:34:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5E/zR/5tSX3PmAnqDwqrZF7fB2zAiasyxF9OgBMQ0/rEdneLIMai0ZVjUwbZPFCxo3VPM+ X-Received: by 2002:a17:907:a087:b0:7ae:45f2:bf2d with SMTP id hu7-20020a170907a08700b007ae45f2bf2dmr7149571ejc.456.1667723683718; Sun, 06 Nov 2022 01:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667723683; cv=none; d=google.com; s=arc-20160816; b=sEjdaD9YDpb3dT/fj/09dIHleWQDLPpGKi4Pj3Te6mF83GAsQuwRSU+uXsYJUqhPtH tyEYPRO9pYJfOyv2PPyRIUjx4y9pV/xx1OPtlAZnnsH56pYr/YDdxDoKO0U2MUVHRPBC Qc6XDX5XJKoFQWHRR7mEKdf60PofxYmrHODVmcOGjg0Dlvh82r97Ft0exJq+/h5WoACp iFX/aE+XoTUSgfOFUxTT5fox3D/GxTUrTNeN3kpsyPNxdGT720WUZuPLcdLMvnPMW8JP g/6xeo9eFc5D2Asg0pPLno15FZ4c26MVG5xsb1mJ/yxobwPzupjp3kfFI48bXageeoIl ulxQ== 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=v5Kshq8EOZ8R2Ego87LhSzIWXli5SBLe0+/P/8eocZc=; b=M4hn+X6XITknoJajXkF5094jFBvVIWhFXyNgbAyjLcSs9pPKeUPWcmZqh/JDUPneQg s2lj7wdKRY7j8eEY+2jqWpjqCfTOzmKL4UbaB2s8cIM6i5TUd/0KuS5wJt6vtu5m/kOl rni9hib3xGG1fda4Qr2X78IqcDI9PSSoypPQiIOmzjnOCr7arEJW4cU0kZChDRm5pp4k ebpuDEXJhRgurMH+Qd54AWzBvejroRqhIEEHbARHUv7tyEglC/TKXtR4fyYn5DQfmzE/ kyIky2It/kQK+d5GVYmNCbxbs3jqZUT4nSXzC2O2RO8xuGnndz23DGuiOVVfB62oQDS9 9CaQ== 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 ce11-20020a170906b24b00b0078d221bd0c2si3886075ejb.1009.2022.11.06.01.34.17; Sun, 06 Nov 2022 01:34:43 -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 S229665AbiKFIBB (ORCPT + 96 others); Sun, 6 Nov 2022 03:01:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229647AbiKFIA7 (ORCPT ); Sun, 6 Nov 2022 03:00:59 -0500 Received: from smtp.smtpout.orange.fr (smtp-11.smtpout.orange.fr [80.12.242.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B08E2633D for ; Sun, 6 Nov 2022 01:00:56 -0700 (PDT) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id raaLoCxK7vbzbraaMoTkHw; Sun, 06 Nov 2022 09:00:54 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 06 Nov 2022 09:00:54 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET To: Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-rtc@vger.kernel.org Subject: [PATCH] rtc: Include when appropriate Date: Sun, 6 Nov 2022 09:00:51 +0100 Message-Id: <786421fd0435a32206288904a1f879436a717529.1667721637.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 The kstrto() functions have been moved from kernel.h to kstrtox.h. So, include the latter directly in the appropriate files. Signed-off-by: Christophe JAILLET --- The goal of this patch is to eventually remove from . This patch is needed to avoid indirect inclusion, via , in rtc-abx80x.c and rtc-ds1307.c. I've done my best to keep alphabetical order of the included files, to that is not always easy to achieve! --- drivers/rtc/rtc-abx80x.c | 1 + drivers/rtc/rtc-bq32k.c | 1 + drivers/rtc/rtc-ds1307.c | 1 + drivers/rtc/rtc-rv3029c2.c | 1 + drivers/rtc/rtc-rx8025.c | 1 + drivers/rtc/sysfs.c | 1 + 6 files changed, 6 insertions(+) diff --git a/drivers/rtc/rtc-abx80x.c b/drivers/rtc/rtc-abx80x.c index 9b0138d07232..973649d95e13 100644 --- a/drivers/rtc/rtc-abx80x.c +++ b/drivers/rtc/rtc-abx80x.c @@ -12,6 +12,7 @@ #include #include +#include #include #include #include diff --git a/drivers/rtc/rtc-bq32k.c b/drivers/rtc/rtc-bq32k.c index 6d6a55efb9cc..967ddc6bf76d 100644 --- a/drivers/rtc/rtc-bq32k.c +++ b/drivers/rtc/rtc-bq32k.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index d51565bcc189..7c2276cf5514 100644 --- a/drivers/rtc/rtc-ds1307.c +++ b/drivers/rtc/rtc-ds1307.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c index eb483a30bd92..e4fdd47ae066 100644 --- a/drivers/rtc/rtc-rv3029c2.c +++ b/drivers/rtc/rtc-rv3029c2.c @@ -17,6 +17,7 @@ #include #include #include +#include #include /* Register map */ diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8025.c index dde86f3e2a4b..078b4406acad 100644 --- a/drivers/rtc/rtc-rx8025.c +++ b/drivers/rtc/rtc-rx8025.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/drivers/rtc/sysfs.c b/drivers/rtc/sysfs.c index 00f1945bcb7e..e3062c4d3f2c 100644 --- a/drivers/rtc/sysfs.c +++ b/drivers/rtc/sysfs.c @@ -6,6 +6,7 @@ * Author: Alessandro Zummo */ +#include #include #include -- 2.34.1