Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2771793rwp; Fri, 14 Jul 2023 11:03:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlGO+OLWuMSdTC6cqCC2JQ3qz9Cr09EZUkZuCxL0ZmgeaYSmLWzWVTcRPn5ccxTqvrOuJa3z X-Received: by 2002:a05:6a20:144d:b0:132:c1fd:aaab with SMTP id a13-20020a056a20144d00b00132c1fdaaabmr3920715pzi.30.1689357812510; Fri, 14 Jul 2023 11:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689357812; cv=none; d=google.com; s=arc-20160816; b=FZMC3tfZN7bfKHDh27O1ffIahUlg4DiRQzZBq953gh0DqjR6wA7NG7cA4l3WuvE1D5 EIDBybs3Y5RBHc7qTB5bFGFceYNY9A8o+ekg/1gs6wafcS4/oyW1psxwoTGXqg16Ubn1 Sf2HvUQwrMkp/UoSY6lO2J5VUPszRZz0mvbUZOY3CGeV101yJDG00OuClSFIugn7x5on 8SRHsxFVwQeji8S9po92frFsgic8dKlfnSUjP2ddgQ+TwxfDzXmQjRK0Qb+xfMPIBqZI ejaJiJVhXIcepaJVeR/kqXP6o2lxrhlc5VZUTyex1bW4OCiLbkojfxfHXb/ndjPuOJvE RIwA== 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=5wIArphUUcrQTlGd9RIfHKu8moYjSLk6R16YZHfHviw=; fh=xl4crYb9pzI2kTd//PVlV26oySif1FL9sjyuelW0Upg=; b=cyLahzMSNnP37f4kKwFJKqmU+kvT54aWUtAn6t2oX5hwm4nOhnFQzWKSo/U3qrll/Z 2Bpf9Mav7H9lXnBXyQgK0fhF3h9Wv84+o8qTypAWm+R4xF59OqTaa/Z7Bk6H3PC+PnFo EWGNEpzwsdiVO/dhWdy5cqmCyQe5jF8OEaws+I8SBz3bViIyNTToMtzb4hhtSKJ9Lxtl GlTXSyqmLFZcLyBs2Rk4uat0lk8+r2AM+skhyBYjYo0kKutvLCxhe6g7Wekkh4x1Z6Hf Vh2fEgY6WcU5Hbrq0QTX0o5u4bHVRu9oQFcszHgXmo7IlluUNmZKGn3V7ZQoVtVoxbqD BttQ== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x48-20020a056a000bf000b00674689bacacsi7018599pfu.77.2023.07.14.11.03.20; Fri, 14 Jul 2023 11:03:32 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236722AbjGNRx3 (ORCPT + 99 others); Fri, 14 Jul 2023 13:53:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236709AbjGNRxH (ORCPT ); Fri, 14 Jul 2023 13:53:07 -0400 Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61BBF3A95; Fri, 14 Jul 2023 10:52:44 -0700 (PDT) Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-3461053677eso4994085ab.0; Fri, 14 Jul 2023 10:52:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357088; x=1691949088; 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=5wIArphUUcrQTlGd9RIfHKu8moYjSLk6R16YZHfHviw=; b=NTCRsad49bLrXdyuikSeGykEXMxrLMIPpqWu3VNTBblocDWb/SHipvdbvlpjzM12oa MkYvfrP7M5qdOQdUibJCzl+pawec2x5j2EwWBYETa3ldccqu7s/miH2n6brq4uF97EJy S8NR4TKi1EseLi5p/kmR/bWqq4O7tuGxLDFCryrgFYbBr4EOhM0UamQjGh/tcDPyAflz 6yoR6agL3B+e/jQVv32BLdhmMinXQ+h7EtR7ZthUTVt3/1P/bMsCjGARKv4FCKc36Um0 7v63xL23XnXyRsLupNjkGSYRMrhiwXjJl8MzyhrvdUKExOFTow6QQ73ElMQRMqtpZ2cR 5NLA== X-Gm-Message-State: ABy/qLY6Gbc8g+0hsK49SG+0dIIUcQVNwxoA8rR4zpoThiIvp8fJN+QW xhB135bfbekVXZ9fDSNqYMH9pM3DSO3F X-Received: by 2002:a05:6e02:782:b0:346:3b4:8b77 with SMTP id q2-20020a056e02078200b0034603b48b77mr2452111ils.12.1689357088535; Fri, 14 Jul 2023 10:51:28 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id 18-20020a92c652000000b00345ffd35a29sm2913154ill.68.2023.07.14.10.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:51:27 -0700 (PDT) Received: (nullmailer pid 4066254 invoked by uid 1000); Fri, 14 Jul 2023 17:50:56 -0000 From: Rob Herring To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: devicetree@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:50:52 -0600 Message-Id: <20230714175052.4066150-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 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 --- drivers/scsi/qlogicpti.c | 2 +- drivers/scsi/sun_esp.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index 1e8fbd457248..f88a5421c483 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/scsi/sun_esp.c b/drivers/scsi/sun_esp.c index d06e933191a2..afa9d02a33ec 100644 --- a/drivers/scsi/sun_esp.c +++ b/drivers/scsi/sun_esp.c @@ -12,7 +12,8 @@ #include #include #include -#include +#include +#include #include #include -- 2.40.1