From patchwork Tue Oct 10 20:56:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13416148 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7135CCD98C2 for ; Tue, 10 Oct 2023 20:56:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230189AbjJJU4u (ORCPT ); Tue, 10 Oct 2023 16:56:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjJJU4t (ORCPT ); Tue, 10 Oct 2023 16:56:49 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE3838F; Tue, 10 Oct 2023 13:56:48 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06A61C433C7; Tue, 10 Oct 2023 20:56:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696971408; bh=y2fTlo3zezzxE1nBSUjqMG6g4xIuKutp9SXd4X2X+Kc=; h=From:To:Cc:Subject:Date:From; b=utaB4KpVk23rFwgM5Yy71oSXCTNJZgBsgCHOmI/kMUozWzGChFLGVrgvgXd/pgroz Wv8vhfa30/p3Wu1iyvuqIGF1Iy6SjJO1f3SIte3MA1j+YBRt+G/Nte5kGsKUuB1NNv rlyzwmDTSkMFoOA8xMd6OIxALCxY0GwTfoU2OI//6MrWhs/lAmf4CwyTn+7QlWawkv oDE81a1K1aRJJQ6r+Ur6ON5qCyChjn7Kpt26xNCCL5o7yhmmc0VLxzH5DqRH3jd5nZ UGgB+0V7FnC9nbMk7OhafqmeP+OXDUJG0jBxje/5ne8EXrmmPWSera9QsLojLRih8w in4WKa/SfYjQA== Received: (nullmailer pid 1584728 invoked by uid 1000); Tue, 10 Oct 2023 20:56:46 -0000 From: Rob Herring To: Wim Van Sebroeck , Guenter Roeck Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] watchdog: marvell_gti: Replace of_platform.h with explicit includes Date: Tue, 10 Oct 2023 15:56:36 -0500 Message-ID: <20231010205636.1584480-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other and pull in various other headers. In preparation to fix this, adjust the includes for what is actually needed. of_platform.h isn't needed, but of.h was implicitly included by it (via of_device.h). Signed-off-by: Rob Herring Reviewed-by: Guenter Roeck --- Note this was added in the merge window and missed the last round. --- drivers/watchdog/marvell_gti_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/marvell_gti_wdt.c b/drivers/watchdog/marvell_gti_wdt.c index d7eb8286e11e..01e9177cbf20 100644 --- a/drivers/watchdog/marvell_gti_wdt.c +++ b/drivers/watchdog/marvell_gti_wdt.c @@ -8,8 +8,8 @@ #include #include #include -#include #include +#include #include /*