From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B741749A for ; Wed, 5 Apr 2023 20:27:20 +0000 (UTC) Received: by mail-ot1-f54.google.com with SMTP id k14-20020a9d700e000000b0069faa923e7eso19667771otj.10 for ; Wed, 05 Apr 2023 13:27:20 -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=eilka+r5ZP7sxooQQQWaF92S+8xRRgStRcjp1YgcIOXRSqrvlxXXSP/PWXZp69LSWh x2FlVbuY9RQ1LjSHP3hLrzJY+Sr16S4pwenYPP/7Hf6aFRjSBdEP0Ape+Gczu8J0Qaaf mTGxidpZmQ7TqugdJW7SKc0/0+P/d3giSeSgaNcLPjFTQR48AOP+UXCaa7grzYC9GVqO TXdLaOVjTIW/+HRWEMCfNnZiYzQl9LkIB4Ixy3WAUP8/TTZEdyWQF5dElq0Pn9Ve8NWf Pn131wtBLNVJCwHJGSEir52UPBPbJHdCu8RitJ8gtutqaGH50afYpy2yR3Vayj+rvlND 9LSQ== X-Gm-Message-State: AAQBX9eSfC3aolC06zbZNvn524r+uaNRAFSVhNHX0AxbAhVQNauuD+yY CZvTWoYgHVP9t+7xp0OE1w== 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> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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, -- Rob Herring