From patchwork Wed Apr 5 20:27:14 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: 670981 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 B0665C7619A for ; Wed, 5 Apr 2023 20:27:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230228AbjDEU1V (ORCPT ); Wed, 5 Apr 2023 16:27:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbjDEU1U (ORCPT ); Wed, 5 Apr 2023 16:27:20 -0400 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E77C14C31; Wed, 5 Apr 2023 13:27:19 -0700 (PDT) Received: by mail-ot1-f50.google.com with SMTP id cm7-20020a056830650700b006a11f365d13so18377957otb.0; Wed, 05 Apr 2023 13:27:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680726439; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jhywZUom6FVbbnxuIEEwYSdDwpixbUY1lehHpDBSgWw=; b=5pNzdKM5+3J7NdFyI3ogXXEVkfTncpWchTsVGkAav5LKsJu28NHmPnneFHfX6N5CCf msI7zdmn4NCtQegC3tlH0/1XImQ92vBZBaY8Y3tGQac9Cn7BL15HoauI6EFcFqbLe88w /YASGBI7JEj5xK9R7fu1t7DzVkZTcQmGOM/448k2TkNblccIsAEQsRURth7Uc3AaTfG0 /XU2XeJR5fO7JLkiAJEVJtofDdOdbExnB0wC5kyaMRAo/8vqBE4CYmryDNwpgbbLZdf2 FoXKWapPHdTerBFSLMsybNf9ZYIoX7z8EEXmXOOnHAsCS+FhJIxwqOyW7V/RJrLCs389 BoKg== X-Gm-Message-State: AAQBX9eL5suZAC1issydy/PT24GSbh+SDtMVrGRTH2VKfFCH6vi12ls+ 7QDHkiGVv+5w2KtTXIE49A== X-Google-Smtp-Source: AKy350Y6PkxJ1TeFc3rYqzBfJAZxJAKrftIpgaCSmMTQOsLNxNqW3HlLQ0Djx2CJiGesOvR3DIQFAA== X-Received: by 2002:a9d:4f16:0:b0:697:3da3:e404 with SMTP id d22-20020a9d4f16000000b006973da3e404mr3621048otl.38.1680726439129; Wed, 05 Apr 2023 13:27:19 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id w3-20020a9d6383000000b006a11c15a097sm7271960otk.4.2023.04.05.13.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 13:27:18 -0700 (PDT) Received: (nullmailer pid 425877 invoked by uid 1000); Wed, 05 Apr 2023 20:27:17 -0000 From: Rob Herring Subject: [PATCH v2 00/10] Remove acpi.h implicit include of of.h Date: Wed, 05 Apr 2023 15:27:14 -0500 Message-Id: <20230329-acpi-header-cleanup-v2-0-c902e581923b@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKLZLWQC/32NSwrCMBQAryJZ+yQfG6or7yFdpC/PJhjS8mKLU np3Yw/gcgaGWUUhjlTE9bAKpiWWOOYK+ngQGFweCKKvLLTURhp9AYdThEDOEwMmcnmewNrGGNX q9mysqGXvCkHPLmOobZ5TqnJiesT3vrp3lUMsr5E/+3lRP/t/siiQ0Hps0Bu0StLtSZwpnUYeR Ldt2xfkJNhrzAAAAA== To: "Rafael J. Wysocki" , Len Brown , Marcelo Schmitt , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Greg Kroah-Hartman , Johannes Berg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jiri Slaby , Thierry Reding , Jonathan Hunter , Marc Zyngier Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org, Stephen Rothwell , Jacob Keller , Jonathan Cameron X-Mailer: b4 0.13-dev Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org In the process of cleaning up DT includes, I found that some drivers using DT functions could build without any explicit DT include. I traced the include to be coming from acpi.h via irqdomain.h. I was pleasantly surprised that there were not 100s or even 10s of warnings when breaking the include chain. So here's the resulting series. I'd suggest Rafael take the whole series. Alternatively,the fixes can be applied in 6.4 and then the last patch either after rc1 or the following cycle. Compile tested on x86 and powerpc allmodconfig and arm64 allmodconfig minus CONFIG_ACPI. Signed-off-by: Rob Herring --- Changes in v2: - More explicit include fixes reported by Stephen - Link to v1: https://lore.kernel.org/r/20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org --- Rob Herring (10): iio: adc: ad7292: Add explicit include for of.h staging: iio: resolver: ad2s1210: Add explicit include for of.h net: rfkill-gpio: Add explicit include for of.h serial: 8250_tegra: Add explicit include for of.h ata: pata_macio: Add explicit include of irqdomain.h pata: ixp4xx: Add explicit include for of.h virtio-mmio: Add explicit include for of.h tpm: atmel: Add explicit include for of.h fpga: lattice-sysconfig-spi: Add explicit include for of.h ACPI: Replace irqdomain.h include with struct declarations drivers/ata/pata_ixp4xx_cf.c | 1 + drivers/ata/pata_macio.c | 1 + drivers/char/tpm/tpm_atmel.h | 2 +- drivers/fpga/lattice-sysconfig-spi.c | 1 + drivers/iio/adc/ad7292.c | 1 + drivers/staging/iio/resolver/ad2s1210.c | 1 + drivers/tty/serial/8250/8250_tegra.c | 1 + drivers/virtio/virtio_mmio.c | 1 + include/linux/acpi.h | 6 ++++-- net/rfkill/rfkill-gpio.c | 1 + 10 files changed, 13 insertions(+), 3 deletions(-) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230329-acpi-header-cleanup-665331828436 Best regards,