Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4204227rwo; Tue, 25 Jul 2023 02:14:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlFTL31Yay8WHyYWrpMjJu8H+tLfYVSTGX7IlCZNYnjXvY1ZjRGqSxr+owHBenu1beTIEKGa X-Received: by 2002:a17:907:2717:b0:997:e791:e823 with SMTP id w23-20020a170907271700b00997e791e823mr11564025ejk.28.1690276489798; Tue, 25 Jul 2023 02:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690276489; cv=none; d=google.com; s=arc-20160816; b=Gro+8+UYmw7Rif3qwsfFMiYGx8A8mE62B7jOsL5uaD7ACNzUDBLU7vlZn7wCAWNzKv +lSxEhZC6aYaGfk741yrT36oknHZRNaIs3DjNqQQXPx7R6Zz7NH2DIiEL2bPujn5hbMi txxOZdUsj+TdeJ+DecBIphvYns4K/AyKVOMAtfIhHlXRF5ycjD21AM5+BHyAKcPSKfVO 7+J+I4iGBuF9bqKpJUOImLjoLTGJzsKrxETfnqdiOD4j8617Gyqdm1pLqmv0kBZ4PEGm 9RI8R+6JWGtSsYJ0JGv/1GPCpT8ddjZApJIaE6vw0CuavdoJFZNMlISR/Fbrjdz7iwS1 o+aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=gSDWCvcuSHC9VM2knzrD+FveP5hp/OfuT3OnvLqEvHo=; fh=4dVXbwKJqcqn9TKAgfTiCW2caVIlA7K5d3xRd8Wz+L4=; b=mO3GNwcjM3MwpRGiCxId44VuufWoItKPxg634hjfCFrSyz5i9FGwOSxlwUaOsNkhTp cGHJeFIGLODeA5R6PYS+WnwNudUbn8Fyf2x/jlyjRZa7zyKy+CzNaCKKRKJJRMgfB+Tl UIetEmotvsUBPtuCIsHoc3O7lGbCAI6usjNc38WE06jPd6aEB6AsgjSsvg+DDnnC8c20 KeYXIwtsQFPjIz/X9l/p13nuQLQNag0Glq41VPsSQ2c52DceiyD0LGzCjVI4x28WZWws yrckD9xOYY81XvmVG6T+Huyforiyk0pgY9cScQoo5lc8cesn6xtL4UN2rQgdaJeivz63 d2Vg== 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 u20-20020a17090657d400b0099351214a8esi7855836ejr.645.2023.07.25.02.14.25; Tue, 25 Jul 2023 02:14:49 -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 S232596AbjGYJAD (ORCPT + 99 others); Tue, 25 Jul 2023 05:00:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232345AbjGYI76 (ORCPT ); Tue, 25 Jul 2023 04:59:58 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 29B0EBD; Tue, 25 Jul 2023 01:59:53 -0700 (PDT) Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1qODtS-0008Gv-00; Tue, 25 Jul 2023 10:59:46 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 1D79DC01F0; Tue, 25 Jul 2023 10:48:40 +0200 (CEST) Date: Tue, 25 Jul 2023 10:48:40 +0200 From: Thomas Bogendoerfer To: Rob Herring Cc: Florian Fainelli , Broadcom internal kernel review list , John Crispin , devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: Explicitly include correct DT includes Message-ID: References: <20230714174028.4040093-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230714174028.4040093-1-robh@kernel.org> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR 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 On Fri, Jul 14, 2023 at 11:40:27AM -0600, Rob Herring wrote: > 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/mips/bmips/setup.c | 1 - > arch/mips/cavium-octeon/flash_setup.c | 3 ++- > arch/mips/lantiq/irq.c | 2 +- > arch/mips/lantiq/xway/dcdc.c | 3 ++- > arch/mips/lantiq/xway/gptu.c | 4 ++-- > arch/mips/lantiq/xway/sysctrl.c | 1 - > arch/mips/lantiq/xway/vmmc.c | 3 ++- > arch/mips/pci/pci-lantiq.c | 4 ++-- > arch/mips/pci/pci-rt2880.c | 5 ++--- > arch/mips/pic32/pic32mzda/config.c | 1 - > arch/mips/ralink/irq.c | 2 +- > arch/mips/ralink/of.c | 2 +- > arch/mips/ralink/prom.c | 2 -- > 13 files changed, 15 insertions(+), 18 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]