From patchwork Fri Jul 14 17:45:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 120641 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2669768vqm; Fri, 14 Jul 2023 11:06:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlGIU2+6srAEepzbxolSG7qnG9jxCsReEJL/Vvb4GGfIbzJG7fMsBNxThq+srP/P561m+7Q+ X-Received: by 2002:a05:6a21:6d8f:b0:133:48e4:d3b4 with SMTP id wl15-20020a056a216d8f00b0013348e4d3b4mr4884097pzb.56.1689358012844; Fri, 14 Jul 2023 11:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689358012; cv=none; d=google.com; s=arc-20160816; b=Hp+oVciMKJhQTEt9aj14oCs/gxyc+psqcFqDb06fj+rrO1DsDGYDScYLygdwUgfShp vfWGFf4DDHXj90Ck+2xYGsgXTR+f2WpJK0iK/5Bv7kN1tcljNZ/WdpTrljLtjjIUNCgP r4W5zeAQovAuWd7JW+rcoWfsHizOjrLCIYx/pGouwLeB5q51BMHy+FS7Xf49/yFzFvA+ 8XAZojDo0kQ5sL2O/jP34BUetonhKqqVN36bSVZoPX/o3oebBKfiiQy6hAdG2jvDdpeq Q3U0KIaevLNxjFReLO/KYRV6woMTMJnM2M4w+FYg/sVNqz81ogSFCXyks0lEvk7W+vr1 Ymvw== 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=gvpPOhyiOh3yD5ckolCJs7/jsewuEi/UtNcofsHWiUI=; fh=cyMu8UtIEsjtHevoRMlMIMKvzZKwMw3wwB9BMkpfACg=; b=xr9Xb0BbYbsUHLJVhoUNPeJaY5NbUY922S01ldvVb0tq9FTXUmIMBG9Ga5+S+epDTW hXB4g0zS83rhqt3gxY1+/GtAADVlT4e+WZIL/o+/sMye46DJPIhY6/jRjS47VOX8845Y FgKT6A6M3kezeCPQdm+FcLgG3eSI7aD6dxavivopAEHjndXAM41BmbWsyEd19jHJet7K pKaPslF4hq9i1YgxcVLDvAFmc7DeljoWCWvdwUyVosQV2KV7hP3XWdMCnvehCLovArLA Y+VWezexaWcIKKtxFR5k/OyXzNLUAKWJF36EduwzbgSCvnMgzBhBh56wpQ63u6TtBe+h 4Pdg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s28-20020a63525c000000b0055bbb6fb4fasi7337670pgl.6.2023.07.14.11.06.39; Fri, 14 Jul 2023 11:06:52 -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 S236541AbjGNRxJ (ORCPT + 99 others); Fri, 14 Jul 2023 13:53:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236557AbjGNRwv (ORCPT ); Fri, 14 Jul 2023 13:52:51 -0400 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37F733AAE; Fri, 14 Jul 2023 10:52:11 -0700 (PDT) Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-3456fda4ed1so10442625ab.0; Fri, 14 Jul 2023 10:52:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689356771; x=1691948771; 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=gvpPOhyiOh3yD5ckolCJs7/jsewuEi/UtNcofsHWiUI=; b=DrLckZi09VeG1IG0R0Y5yA7R5/a9hNd1qA9c8W42Y5MgY6k5R/p5en30xJN8lC8s9D VgxcmHIqfUD05QEw28iqRsPxofiguR5Uf+Sw3Iwtv0J0mGdrIhlu3RZi4AjVWvNFAflZ 6RLhFD5rb56JgTyN7WOYlFNfJmIZPVwBKP3XZRJ2APuneQq4VhI2F/mX18aj5ycS312T s4CsR0cI6h29ctTS+KepCOOMjDpVOs9wTPBa0IJ017goQqe9MbzTLwnFdMgATTgUZ37W RFaEIulSSVzFV7k7x4gPCjwljFU/4ZKwLyaIN6aoT5xQqXdSyG3AbbBxIx/078ZxkkxA KPJQ== X-Gm-Message-State: ABy/qLZdJDEZs9d1OKu1+DqvHume7utt6Aro/HazTeLwZyyDIrzmrTsE ES+6mVgCNJuZT2aCwgSZj5xTSd7Wrg== X-Received: by 2002:a92:d905:0:b0:346:7c6e:1497 with SMTP id s5-20020a92d905000000b003467c6e1497mr5348597iln.21.1689356771318; Fri, 14 Jul 2023 10:46:11 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id t3-20020a05663801e300b0042b52dc77e3sm2646184jaq.158.2023.07.14.10.46.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:46:10 -0700 (PDT) Received: (nullmailer pid 4056998 invoked by uid 1000); Fri, 14 Jul 2023 17:46:00 -0000 From: Rob Herring To: Sebastian Reichel Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hsi: omap_ssi: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:45:54 -0600 Message-Id: <20230714174554.4056851-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 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,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771420267573229742 X-GMAIL-MSGID: 1771420267573229742 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/hsi/controllers/omap_ssi_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hsi/controllers/omap_ssi_core.c b/drivers/hsi/controllers/omap_ssi_core.c index 84ba8b875199..4c1a00f9929e 100644 --- a/drivers/hsi/controllers/omap_ssi_core.c +++ b/drivers/hsi/controllers/omap_ssi_core.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include