From patchwork Fri Jul 14 17:40:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 703377 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 6A741EB64DC for ; Fri, 14 Jul 2023 17:40:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236107AbjGNRkf (ORCPT ); Fri, 14 Jul 2023 13:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236126AbjGNRkd (ORCPT ); Fri, 14 Jul 2023 13:40:33 -0400 Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1FBE3A94; Fri, 14 Jul 2023 10:40:29 -0700 (PDT) Received: by mail-io1-f42.google.com with SMTP id ca18e2360f4ac-78666f06691so88019239f.0; Fri, 14 Jul 2023 10:40:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689356429; x=1691948429; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Me3eQAxtkYEt1As/TJ8gtlG9I7mp3faMQUIZ1X3guVM=; b=EqVhtWli27ME9+FIFN/qQWDHJno30DtkuzDhhhIA5ecE1IxtKsoze647erJl5UMptz s8JjQSVx4o5PG/c6/ojmyMhBsJF5cVUCX33apuAYms8bQAT4OBZrYchybes+tFT2v15k X6Hn8AbXEQ3zf1RqaF+8NmjwhGGSTbRt9TKbiCSwqntkNwaHYQBdUgrZNqtz7EoX371S 6STyDlD1I54FZ8Mf6oId/TpFTd0stuw4wU4DgHqpxku90rKGuYEjH0Ss/6fmJTHsXdM/ BqtZLedePQQYe4ohLVkGvM0mUkxL47ODQ747bC+DfQmuTXiNObwCJIk0G/QzNo887+yW /asw== X-Gm-Message-State: ABy/qLaa+9xGD4knNMk3LIiSpmrvzXIxQCkgO+WA/ijk08fr30A0wcso XAajKSgxXH2Ewrjmkgtd6Onb6qSuUA== X-Google-Smtp-Source: APBJJlHxEqwUSGqf8oHHKwjtywph6EMwM1DtmtII+Y+8QWLovfd5P5qKIMaW4TcFAxw+Y4tCYFtzNA== X-Received: by 2002:a5d:924c:0:b0:785:d06d:7b04 with SMTP id e12-20020a5d924c000000b00785d06d7b04mr5250377iol.1.1689356429010; Fri, 14 Jul 2023 10:40:29 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id i15-20020a02cc4f000000b0042b35c7b8c5sm2812180jaq.61.2023.07.14.10.40.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:40:28 -0700 (PDT) Received: (nullmailer pid 4040049 invoked by uid 1000); Fri, 14 Jul 2023 17:40:27 -0000 From: Rob Herring To: Michal Simek Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] microblaze: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:40:23 -0600 Message-Id: <20230714174023.4039938-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring --- arch/microblaze/kernel/reset.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/microblaze/kernel/reset.c b/arch/microblaze/kernel/reset.c index 5f4722908164..2f66c7963084 100644 --- a/arch/microblaze/kernel/reset.c +++ b/arch/microblaze/kernel/reset.c @@ -9,7 +9,6 @@ #include #include -#include #include void machine_shutdown(void)